Tuesday, May 13, 2008

Select Masterpage and theam during run time asp.net c#

Define follwoing in your program:-
protected void Page_PreInit(object sender, EventArgs e)
{
Page.MasterPageFile = "~/zzzzzz.master";
}

No comments: