What for use web.sitemap in asp.net?



What for use web.sitemap in asp.net?..

Answer / atul

Before u can start using navigation control (such as
menu,treview and sitemappath)in asp.net u must create
xmlsitemap called web.sitemap for asp driven class.
for example:-(this is for menu)
<?xml version="1.0" encoding="utf-8"?>
<siteMap
xmlns="http://schemas.microsoft.com/aspnet/SiteMap-File-1.0">
<siteMapNode url="~/default.aspx" title="Home" description="">
<siteMapNode url="~/Trailreport.aspx" title="trails"
description=""/>
<siteMapNode url="~/Diag.aspx" title="Diagnostics"
description=""/>
<siteMapNode url="~/contact.aspx" title="contact us"
description="" >
<siteMapNode url="~/feedback.aspx" title="Feedback"
description=""/>
</SiteMapNode>
</SiteMapNode>
</SiteMap>

This file is web.sitemap file and binding with the menu control.

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

How do we access view state value of this page in the next page?

1 Answers   MindCracker,


What are the data types is possible to store in session? and can we store dataset in session?

4 Answers   eMids,


How do u optimize a query in asp.net?

1 Answers   MCN Solutions,


What Is ASPNET_WP.exe? What Is The Use Of It? In Which Place Inproc Session Stored ? Explain Session State ?

2 Answers   Phoenix Technologies,


How you will manage the state of ASP.NET controls?

1 Answers   Sans Pareil IT Services,


Write a code for passing ArrayList in Web API?

1 Answers  


Can you nest updatepanel within each other?

1 Answers  


What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?

1 Answers   BirlaSoft,


What is ViewState and How it is managed,Its Advantages/Benefits?

4 Answers   Google,


What is slidemaster?

1 Answers  


What are the different properties of server control that exists?

1 Answers   Cap Gemini,


How to prevent client side validation from the ASP.NET validation controls?

1 Answers   Viscus Infotech,


Categories