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
  • PrintPrint
Share this Page URL
Help

Chapter 26. ASP.NET 3.5 > Adding Elements to theMainMaster Page

26.4. Adding Elements to theMainMaster Page

Now that we have created our master pages and set the layout properties, we can start to add elements to the pages that will be inherited by any content pages attached to the master pages.

A useful technique is creating custom user controls or web user controls. The advantage of creating a user control is that you can combine a number of controls and appropriate business logic into a single reusable object that you can then apply across as many pages as necessary. The control can be centrally managed, which is an advantage if you have used the control across a number of master, content, or normal ASPX pages.


  

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


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint