当前位置: 动力学知识库 > 问答 > 编程问答 >

asp.net - how to Apply Master Pages By Folder in web.config

问题描述:

I have folder called Email which contains 20 aspx pages I am trying to apply master page to this email folder through web.config

i Got following error

The relative virtual path 'MasterPage.Master' is not allowed here.

code in web.config

Please help in this issue

网友答案:

Use an application-relative path, like ~/Email/MasterPage.Master

分享给朋友:
您可能感兴趣的文章:
随机阅读: