dwt和站点地图 [英] dwt and sitemap
问题描述
我正在尝试使用表达式网站的站点地图工具进行导航。我还有一个我正在使用的动态Web模板。所以我目前正在尝试使用dwt来放置我的菜单控件但我一直收到错误。我想我错过了这个概念......我如何与dwt文件同时使用站点地图?有没有人有什么建议?从教程中,站点地图是在.aspx文件中创建的。也许我的网站导航应该在我的default.aspx中的标题和菜单中。任何帮助将不胜感激。
I am trying to utilize expression web's sitemap tool for navigation. I also have a dynamic web template that I am using. So I am currently trying to use the dwt to place my menu control but I keep getting an error. I think I'm missing the concept...How do I use the sitemap concurrently with a dwt file? Does anyone have any suggestions? From the tutorials, the sitemap was created in a .aspx file. Perhaps my site navigation should go in header and menu in my default.aspx. Any help will be appreciated.
推荐答案
ASP.NET控件仅适用于.aspx页面。虽然您可以将.aspx页面附加到.dwt模板,但这不是一种非常常见的情况。使用ASP.NET时,您应该使用母版页而不是动态Web模板。
ASP.NET controls only work in .aspx pages. While you can attach an .aspx page to a .dwt template, this is not a very common scenario. When you use ASP.NET, you should probably use Master Pages instead of Dynamic Web Templates.
这篇关于dwt和站点地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!