O'Reilly logo

Programming Microsoft® .NET by Jeff Prosise

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. User Controls

Web forms bring component-based programming to the Internet by enabling complex rendering and behavioral logic to be encoded in reusable server control classes. Classes such as Calendar and DataGrid form the backbone of Web forms and enable developers who have only a rudimentary knowledge of HTML and client-side scripting to build sophisticated Web pages.

But the story of componentization in ASP.NET doesn’t end with server controls. ASP.NET supports a second type of component called the user control. A user control is a custom control built from HTML and server-side script. It’s an intuitive and easily understood means for capturing and sharing functionality without resorting to the server-side includes (SSIs) so prevalent ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required