sitemappath显示一片空白,是什么问题?
如题,asp.net 2.0 上的sitemappath 控件 我使用后是一片空白,但是我有web.sitmap 文件
内容如下:
<?xml version= "1.0 " encoding= "utf-8 " ?>
<siteMap xmlns= "http://schemas.microsoft.com/AspNet/SiteMap-File-1.0 " >
<siteMapNode url= "Default.aspx " title= "首页 " description= "itgao.com首页 ">
<siteMapNode url= "info.aspx " title= "网站制作 " description= "网站制作教程 ">
<siteMapNode url= "desk.aspx " title= "Dreamweaver " description= "Dreamweaver教程 " />
<siteMapNode url= "Default2.aspx " title= "flash " description= "flash教程 " />
<siteMapNode url= "Default3.aspx " title= "web标准 " description= "web标准 " />
</siteMapNode>
</siteMapNode>
</siteMap>
sitemappath 控件内容如下:
<asp:sitemappath id= "SiteMapPath1 " runat= "server " font-names= "Verdana " font-size= "0.8em "
pathseparator= " : ">
<PathSeparatorStyle ForeColor= "#507CD1 " Font-Bold= "True "> </PathSeparatorStyle>
<CurrentNodeStyle ForeColor= "#333333 "> </CurrentNodeStyle>
<NodeStyle ForeColor= "#284E98 " Font-Bold= "True "> </NodeStyle>
<RootNodeStyle ForeColor= "#507CD1 " Font-Bold= "True "> </RootNodeStyle>
</asp:sitemappath>
请指教
------解决方案--------------------没发现哪里问题, 要不你新建一个网站试试看.