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属性即可

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2021-08-28
  • 2021-07-29
  • 2021-07-25
  • 2021-08-14
猜你喜欢
  • 2021-06-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-04
  • 2022-01-11
  • 2022-01-29
相关资源
相似解决方案