Jump to content

error with <sitemap>


joecool2005

Recommended Posts

Hi,I have created a <sitemap> like this.

<?xml version="1.0" encoding="ISO-8859-1" ?><siteMap>  <siteMapNode title="test" url="test"/>  <siteMapNode title="test2" url="test2"/></siteMap>

When I wanted to display my sitemap, it does not work if I have more than 1 <siteMapNode >.Why?This is how I called

	<form id="form1" runat="server">	<div>		<asp:TreeView ID="TreeView1" runat="server" DataSourceID="SiteMapDataSource1">		</asp:TreeView>		<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />		</div>	</form>

Thx

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...