Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要将 Web 表单导航栏中名为 SVN 的选项的可见性设置为 false。
这是它在母版页中的代码....
if (page.CurrentUser.Permissions.SVN()) ctrlLinkBar.AddLink("SVN", "SVN.aspx");
我怎么做?
我会:
我假设您不能只更改母版页上的公式。
这是一篇关于母版页的精彩文章:
http://odetocode.com/articles/450.aspx
“内容页面到母版页交互”部分显示了如何使用强类型属性来执行此操作。