Answer Posted / 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 View All Answers
What are the disadvantages of using session?
What is active web pages?
What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?
Explain authorization levels in .net ?
IN an ASP.NET Web application if there is any error, how can you debug?
Explain page output caching?
What is ascx?
What is the difference between a candidate key and primary key?
Explain about solution explorer window?
What is query string in asp.net?
Which is faster viewdata or viewbag?
What is the difference between cookie and session?
What are the main requirements for caching?
What is the function of the ViewState property?
What is user control in asp.net?