1. Access Master page within Content Page

在ASP 的content page aspx 中加入 <% @MasterType virtualPath="~/MasterPage.master">

 

2. Dynamic change master file in the content page

在content page的preinit 方法中加入改变MasterPageFile属性即可

相关文章:

猜你喜欢
相关资源
相似解决方案