I'm working on a project to syndicate library content with RSS.... and learn .NET, C#, and AJAX

Friday, June 1, 2007

Programming ASP.NET ... today I learned

OK I decided to go ahead and go through Programming ASP.NET's code examples. So far, today I've learned these things not in the book:


  • in C#, you need each case block that has a directive to end with something like break or goto (Book example must've been VB) or it won't compile

  • if you are using master pages, then your controls are given custom id numbers like this: ctl00$btnMyButton. (see http://www.codeproject.com/aspnet/InsideMasterPages.asp) for more. Meaning if you are trying to access them with getElementById you had better name them right.

  • Assigning a new txtHTML.Value does not seem to fire the JS onchange event

Also, I found a keen font for VS, called Consolas: http://www.microsoft.com/downloads/thankyou.aspx?familyId=22e69ae4-7e40-4807-8a86-b3d36fab68d3&displayLang=en

No comments: