来自SubFloders的母版页 [英] Master page from SubFloders
问题描述
我在子文件夹中有一个网页,它在根目录下继承了一个母版页。
子文件夹无法看到母版页。
这就是我在webPageThatIsInSubfolder.aspx中的内容
MasterPageFile ="〜/ myMasterPage.Master"
试过,
MasterPageFile =" ../ vendor.Master"不起作用
在哪个页面放置一个母版页。
谢谢
Hi,
I have a web page in a subfolder that inherits a Master page at the root.
the webpage in the subfolder can not see the Master page.
This is what I have in my webPageThatIsInSubfolder.aspx
MasterPageFile="~/myMasterPage.Master"
Tried,
MasterPageFile="../vendor.Master" Does not work
Where should a Master Page be placed, in what folder.
Thanks
推荐答案
试过,
MasterPageFile =" ../ myMasterPage"不起作用
" IfThenElse" < sq ********** @ hotmail.comwrote in message
news:Ow ************** @ TK2MSFTNGP05.phx.gbl ...
Tried,
MasterPageFile="../myMasterPage" Does not work
"IfThenElse" <sq**********@hotmail.comwrote in message
news:Ow**************@TK2MSFTNGP05.phx.gbl...
我在子文件夹中有一个网页,它在根目录下继承了一个母版页。
子文件夹中的网页无法看到母版页。
这就是我在webPageThatIsInSubfolder.aspx中的内容
MasterPageFile ="〜/ myMasterPage.Master"
试过,
MasterPageFile =" ../ vendor.Master" ;不起作用
在哪个页面放置一个母版页。
谢谢
Hi,
I have a web page in a subfolder that inherits a Master page at the root.
the webpage in the subfolder can not see the Master page.
This is what I have in my webPageThatIsInSubfolder.aspx
MasterPageFile="~/myMasterPage.Master"
Tried,
MasterPageFile="../vendor.Master" Does not work
Where should a Master Page be placed, in what folder.
Thanks
" IfThenElse" < sq ********** @ hotmail.comwrote in message
news:e2 ************** @ TK2MSFTNGP03.phx.gbl ...
"IfThenElse" <sq**********@hotmail.comwrote in message
news:e2**************@TK2MSFTNGP03.phx.gbl...
试过,
MasterPageFile =" ../ myMasterPage"不起作用
" IfThenElse" < sq ********** @ hotmail.comwrote in message
news:Ow ************** @ TK2MSFTNGP05.phx.gbl ...
Tried,
MasterPageFile="../myMasterPage" Does not work
"IfThenElse" <sq**********@hotmail.comwrote in message
news:Ow**************@TK2MSFTNGP05.phx.gbl...
>
我在子文件夹中有一个网页,它在根目录下继承了一个母版页。子文件夹中的网页无法看到母版页面。
这就是我在webPageThatIsInSubfolder.aspx中的内容。
MasterPageFile ="〜/ myMasterPage.Master"
>Hi,
I have a web page in a subfolder that inherits a Master page at the root.
the webpage in the subfolder can not see the Master page.
This is what I have in my webPageThatIsInSubfolder.aspx
MasterPageFile="~/myMasterPage.Master"
我有同样的事情,这个表格适合我。我的页面位于
/ manage子文件夹中,母版页位于根文件夹中(上面一个)。我
有MasterPageFile ="〜/ Managing.master"它工作正常。
雪莉
I have the same thing and this form worked for me. My page is in the
/manage subfolder and the master page is in the root folder (one above). I
have MasterPageFile="~/Managing.master" and it works fine.
Shelly
" IfThenElse" < sq ********** @ hotmail.comwrote in message
news:e2 ************** @ TK2MSFTNGP03.phx.gbl ...
"IfThenElse" <sq**********@hotmail.comwrote in message
news:e2**************@TK2MSFTNGP03.phx.gbl...
试过,
MasterPageFile =" ../ myMasterPage"不起作用
" IfThenElse" < sq ********** @ hotmail.comwrote in message
news:Ow ************** @ TK2MSFTNGP05.phx.gbl ...
Tried,
MasterPageFile="../myMasterPage" Does not work
"IfThenElse" <sq**********@hotmail.comwrote in message
news:Ow**************@TK2MSFTNGP05.phx.gbl...
>
我在子文件夹中有一个网页,它在根目录下继承了一个母版页。子文件夹中的网页无法看到母版页面。
这就是我在webPageThatIsInSubfolder.aspx中的内容。
MasterPageFile ="〜/ myMasterPage.Master"
>Hi,
I have a web page in a subfolder that inherits a Master page at the root.
the webpage in the subfolder can not see the Master page.
This is what I have in my webPageThatIsInSubfolder.aspx
MasterPageFile="~/myMasterPage.Master"
啊哈!是你的主文件myMasterPage.Master还是它是
myMasterPage.master ??
雪莉
Aha! is your master file called myMasterPage.Master or is it
myMasterPage.master ??
Shelly
这篇关于来自SubFloders的母版页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!