<%@ 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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 14, 2011, 4:10 AM EDT
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.
Vijay YadavRank #1,637 · 943 reputationPosted Mar 14, 2011, 11:43 PM EDT
If your query got resolved please mark the post as answer that helps you