Sams Teach Yourself ASP.NET in 21 Days, Second Edition By Chris Payne
Table of Contents
Week 1. At a Glance
Yesterday you took a look at Web forms and the new capabilities they give the Web developer. You examined the mechanisms behind Web forms and studied HTML server controls and Web server controls. These are some great tools to add to your belt.
Today's lesson continues this look at Web forms. You'll examine the extensibility of Web forms and learn how you can easily build your own additions to this framework with user controls and custom controls. User controls allow you to package common UI functionality so you can use it over and over again. Custom controls contain UI functionality that you create from scratch. By combining yesterday's lesson with today's, you'll be able to program great ASP.NET pages before your first week is up!
Today you'll learn about the following:
How Web forms are extensible
What a user control is
How to create and use user controls
How to build and use custom controls
How to make your custom controls behave more like regular server controls
How to create server controls in your code during runtime