<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
Web.Sitemap
But when i am runing the default.aspx page it is not showing any thing why.....?
any one who can help me plz........?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vijay YadavPosted Mar 15, 2011, 3:43 AM
If your query got resolved please mark the post as answer that helps you
Amit ChoudharyPosted Mar 14, 2011, 8:10 AM
You have Sitemap control to show it on page and the XmlSitemap file.
Now you need to just use SiteMapDataSource and bind it with XmlSitemap. now your source is ready to bind with Sitemap contorl.
In your code you have missed the binding with these two.
For more Details Here is the article for working with SitemapDatasource in asp.net
Hope this helps you. Please don't forget to mark as answer.
Thanks.