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 |
What is a web based system?
Is asp.net a programming language or framework?
Using Statement usage in C#
What is viewstate? In which event of the page life cycle, is the viewstate available?
How you will improve web application performance?
Is there any alternative to avoid name collisions other then Namespaces?
How do I send an email message from my ASP.NET page?
What is the purpose of url encoding?
How to display Alert in ASP.NET
.net allows which inheritence
6 Answers AG Technologies, Samcomm,
Which library is used by the testers and developers to develop automated tests and create testing tools?
What r new things introduced in ASP.NET 2.0 in comparision to ASP.NET 1.1