1. Using Page Directive
2. Using Web Config
This will set the Master file for all the Pages in the Web application
3. Programmatically from Content page
protected void Page_PreInit(object sender, EventArgs e)
{
Page.MasterPageFile = "~/SiteExample.Master";
}
No comments:
Post a Comment