Site.Master没有在Startup上显示? asp.net2010 [英] Site.Master is not showing on Startup? asp.net2010
问题描述
这是我的第一个项目...我创建了一个带菜单的Site.Master ..我创建了一些页面for_home,AboutUs.aspx等..
来自菜单Navigateurl也提到了页面...没问题。但是当我跑步时,site.master没有显示..它只显示For_Home.aspx ....没有site.master数据......
那么如何解决这个问题?...有什么遗漏吗?
感谢指导..
< blockquote>当您将页面添加到项目中时,您是否指定它们是具有主页面的表单?这将为您的HTML根目录提供一个页面节点,其中包含一个属性,如MasterPageFile =〜/ Site.Master。
Hi, Its my first project...I create a Site.Master with menus..And I create some pages for_home, AboutUs.aspx etc..
From Menu Navigateurl also mentioned to pages...No problem..But while I run, the site.master is not showing..Its showing only the For_Home.aspx....without site.master data's...
So how to solve this problem?...Does anything is missed?
Thanks for the guidences..
When you added your pages to your project, did you specify that they are forms with a Master page? That would give you a Page node at the root of your HTML for the form with an attribute like MasterPageFile="~/Site.Master".
这篇关于Site.Master没有在Startup上显示? asp.net2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!