为什么我SiteMapPath导航控件放上去没反应
我把Menu控件放上去,他能显示出来,而我把siteMapPath放上去他一点反应都没有这么回事啊。站点地图都配置了得
母版页的内容:
<body style="width:950px;">
<form id="form1" runat="server">
<div>
<table cellpadding="0" cellspacing="0" border="1" width="940" align="center">
<tr><td colspan="2"></td></tr>
<tr><td colspan="2" align="center">
<asp:SiteMapPath ID="SiteMapPath1" runat="server">
</asp:SiteMapPath>
</td>
</tr>
<tr>
<td>
<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource">
</asp:Menu>
<asp:SiteMapDataSource ID="SiteMapDataSource" runat="server" />
</td>
<td>
<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
</table>
</div>
</form>
</body>