dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


advertisement
 

Creating Usable Page Templates in ASP.NET : Page 2

Overcome ASP.NET's lack of page templating using this robust and upgradeable templating approach.


advertisement

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Page Template Architecture
The page template architecture presented in this article consists of three main controls: Each control can be summarized as follows:
  • The page template, implemented as a user control.
  • The PageBody server control, which provides the plumbing between the template and the page that uses it.
  • The NamingPlaceHolder control, which extends the PlaceHolder Web Control by making it a NamingContainer.
Figure 2 shows the relationship between these controls.



Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Thanks for your registration, follow us on our social networks to keep up-to-date