Fun with Page Templates

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.

 19 Feb 03 11:48 AM · Comments (0)

Post a comment