I\'m working on a site which needs to be able to support two or more looks, changable at runtime. I\'d hoped to be able to handle the change with a CSS switch, but it looks like
Inherit all you pages from a base class like
public class PageBase : System.Web.UI.Page { public PageBase() { this.PreInit += new EventHandler(PageBase_PreInit); } void PageBase_PreInit(object sender, EventArgs e) { this.MasterPageFile = "~/MyMasterPage.Master"; } }