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 |
Is session server side or client side?
what is diffrence between debug class and trace class in asp.net ?
What’s difference between “optimistic” and “pessimistic” locking?
if i have 1000 records and i want to access 20 ata time from SQL server, what will be the query?
In try catch blocks one is normal catch block and another is sqlcatchexception block
Describe the difference between inline and code behind - which is best in?
Is asp.net mvc front end or backend? : Asp.Net MVC
What is the use of web.config? Difference between machine.config and Web.config?
how we declare interface
How does the iis work?
what are the components available in global.asax ?
Difference between abstract class and interface