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 is a Cookie? Where is it used in ASP.NET?
Which of the following .NET framework supports Web API?
Can you explain architecture of your project ?
Explain the different parts that constitute ASP.NET application?
Where is http session stored?
What is the difference between cache and cookies?
What are Master Pages in ASP.NET? or What is a Master Page?
What is the usage of DelegatingHandler?
Why we go for mvc instead of asp.net? : Asp.Net MVC
Explain how can we access static variable?
What do you understand from custom control?
Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc
Define repository pattern in mvc.net? : asp.net mvc
What is ASLM?
What is variable and constant in .net programming language?