Dan Wahlin on ASP.NET 2.0 Tips and Tricks
Dan Wahlin has a great post on ASP.NET 2.0 Tips and Tricks. Honestly, I talk about ASP.NET 2.0 to customers at least twice a week, and I didn't know about some of these tips. His blog entry shows how ASP.NET 2.0 makes it easy to:
- Maintain the position of the scrollbar on postbacks
- Set the default focus to a control when a page loads
- Set the default button that is triggered when the user hits the enter key
- Locate nested controls easily
- Get strongly-typed access to cross-page postback controls
- Get strongly-typed access to Master Pages controls
- Utilize validation groups
It would be bad form if I just gave it away and showed you the page attribute or property that enables each scenario, Dan put a bit of work into a great blog post that you should go read now. Click here to read Dan's post, "Simple ASP.NET 2.0 Tips and Tricks That You May (Or May Not) Have Heard About".