Fun with Page Templates

Posted by Phil Weber on February 19, 2003

I've been meaning for some time to post an overview of ASP.NET page-template techniques; Adrian Bateman has saved me the trouble:

Page template techniques with ASP.NET:

Mike Borromeo describes another clever technique in this article: He uses a UserControl for the page template, and exposes an ITemplate property (the same interface ASP.NET uses for templated items in the DataGrid and DataList controls) for the page-specific content. This is the approach I've used in my content management system.

Update: Paul Wilson has a fairly comprehensive list of page template resources here.


Leave a comment