Hi, friends
Can you dynamically assign a Master Page?
Master Page in ASP.NET
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
burak gogcegoz2 reputationPosted Nov 1, 2011, 8:27 AM EDT
http://msdn.microsoft.com/en-us/library/c8y19k6h.aspx
There is an example as well..
Suthish NairRank #92 · 22.8K reputationPosted Nov 1, 2011, 8:29 AM EDT
void Page_PreInit(Object sender, EventArgs e)
{
this.MasterPageFile = "~/MasterPage1.master";
}