Visual Inheritance with Master Pages and the @Reference tag
Posted by: Rick Strahls WebLog,
on 26 Mar 2006 |
View original | NEW Bookmarked: 0 time(s)
A few days ago I talked about a useful approach to store Master Pages in a template directory so they can be tied fairly easily to Theme. At the time I was working with a Web Application Projects project, so it was pretty easy to implement the MasterPage in a 'base' directory, and then create the other templates by simply referencing the original CodeBehind class using simple code like this:
<%@ Master Language="C#" AutoEventWireup="true" ...