Hi, I need to set visibility for an option called SVN in a navigation bar for a web form as false.
this is its code in the master page....
if (page.CurrentUser.Permissions.SVN()) ctrlLinkBar.AddLink("SVN", "SVN.aspx");
how do i do that?
Hi, I need to set visibility for an option called SVN in a navigation bar for a web form as false.
this is its code in the master page....
if (page.CurrentUser.Permissions.SVN()) ctrlLinkBar.AddLink("SVN", "SVN.aspx");
how do i do that?
I would:
I'm assuming you can't just change the formula on the master page.
This is a great article on Master Pages:
http://odetocode.com/articles/450.aspx
The 'Content Page to Master Page Interaction' section shows how you can do this using strongly typed properties.