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
Differentiate strong typing and weak typing
Explain the advantages of caching?
What is the biggest disadvantage of “Other Return Types” in Web API?
What is a session government?
How long do session variables last?
How to register exception filter globally?
What is the parent class of all the web server control?
What are the different kinds of assemblies?
Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?
How does session work?
When you are running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?
Describe how ASP.NET maintains process isolation for each Web application?
What is _dopostback in asp net?
Why we use asp.net for website development?
How do you declare static variable? What is its lifetime?