11 February 2014

How do you change Master page dynamically at runtime in asp.net?



protected void Page_PreInit(object sender, EventArgs e)
    {
            this.Page.MasterPageFile = "~/test.master";
    }

No comments:

Post a Comment