如何在母版页上访问ControlParameter的代码



我试图在我的母版页上找到这个String在我的代码后面,但是因为我的ControlId="__Page"它正在寻找子页上的字符串而不是母版页<asp:ControlParameter Name="WhereClause" ControlID="__Page" PropertyName="ViewUserPageNavigationWhereClause"

如何访问母版页背后代码的ControlId ?

try this:

将ControlParameters绑定到任何公共页面属性

我希望它有帮助!

最新更新