Modify Master Page Conrol
Posted on Tuesday, July 10, 2012
|
No Comments
use this code in your child page
<%@ MasterType VirtualPath="~/MasterSite.Master" %>
Add this code in your Master Page
public void FeatureVisibility(bool value)
{
PanelFeaturePro.Visible = value;
}
Now in Child Page
use : Master.FeatureVisibility(false);