<?xml version="1.0" encoding="utf-8" ?><siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="" title="" description=""> <siteMapNode url="" title="" description="" /> <siteMapNode url="" title="" description="" /> </siteMapNode></siteMap>In Form1)Add the Menu controls to Form2)Go to the Property window 3)choose New Datasource from Datasource ID of Menu control4)DataSource Configuration Wizard window will display 5)then coose the "Site Map"Example :-web.SiteMap:-<?xml version="1.0" encoding="utf-8" ?><siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="File" title="File" description="File"> <siteMapNode url="Default2.aspx" title="SecondPage" description="ThirdPage" /> <siteMapNode url="Default3.aspx" title="ThirdPage" description="ThirdPage" /> </siteMapNode></siteMap>Default.aspx:-<html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"> <div> <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1"> </asp:Menu> <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" /> </div> </form></body></html>Thanks & RegardsG.RenganathanNothing is mine ,Everything is yours!!!http://renganathan1984.blogspot.com/
In Form1)Add the Menu controls to Form2)Go to the Property window 3)choose New Datasource from Datasource ID of Menu control4)DataSource Configuration Wizard window will display 5)then coose the "Site Map"Example :-web.SiteMap:-<?xml version="1.0" encoding="utf-8" ?><siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="File" title="File" description="File"> <siteMapNode url="Default2.aspx" title="SecondPage" description="ThirdPage" /> <siteMapNode url="Default3.aspx" title="ThirdPage" description="ThirdPage" /> </siteMapNode></siteMap>Default.aspx:-<html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"> <div> <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1"> </asp:Menu> <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" /> </div> </form></body></html>Thanks & RegardsG.RenganathanNothing is mine ,Everything is yours!!!http://renganathan1984.blogspot.com/
<?xml version="1.0" encoding="utf-8" ?><siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="File" title="File" description="File"> <siteMapNode url="Default2.aspx" title="SecondPage" description="ThirdPage" /> <siteMapNode url="Default3.aspx" title="ThirdPage" description="ThirdPage" /> </siteMapNode></siteMap>Default.aspx:-<html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"> <div> <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1"> </asp:Menu> <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" /> </div> </form></body></html>Thanks & RegardsG.RenganathanNothing is mine ,Everything is yours!!!http://renganathan1984.blogspot.com/
Default.aspx:-<html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"> <div> <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1"> </asp:Menu> <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" /> </div> </form></body></html>Thanks & RegardsG.RenganathanNothing is mine ,Everything is yours!!!http://renganathan1984.blogspot.com/
<html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"> <div> <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1"> </asp:Menu> <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" /> </div> </form></body></html>Thanks & RegardsG.RenganathanNothing is mine ,Everything is yours!!!http://renganathan1984.blogspot.com/
Thanks & RegardsG.RenganathanNothing is mine ,Everything is yours!!!http://renganathan1984.blogspot.com/
Thanks & RegardsG.RenganathanNothing is mine ,Everything is yours!!!