Tuesday 24 February 2015

how to change master page at run time in asp.net

void Page_PreInit(Object sender, EventArgs e)
{
this.MasterPageFile="~/TestMaster.master";
}