Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Part 2: ASP.NET Web Forms > Custom controls

6. Custom controls

This chapter covers

  • An introduction to how to build custom controls

  • Composite controls

  • Handling PostBack in custom controls

  • Complex controls

  • Data binding and templates in custom controls


You can use custom controls in ASP.NET Web Forms to benefit from componentization. As you learned in previous chapters, ASP.NET Web Forms are based on the concept of controls, which are used as placeholders for their given features. Controls are useful when you’re developing complex applications because you can avoid code duplication. Because custom controls are objects, you can use the typical features offered by OOP.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial