I have a footer div on my master page and I want it to show on most pages but not on some. This on the Main.Master.cs doesn't seem to work:
protected void Page_Load(object sender, EventArgs e)
{
string pagename;
pagename = Request.Url.LocalPath;
if (pagename.ToLower() == "flexibility" )
{
Panel_Footer.Visible = false;
Panel_Footer.Height = 0;
}
}
Go to the complete details ...