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 themes and skins in 2.0, explain usage scenario?
Explain transparent caching with aop?
What are the 3 levels at which content pages can be attached to Master Page?
Describe SOA and the tenets of it?
Is asp.net and .net same?
Explain what is the procedure to create the environment for asp.net? : asp.net mvc
ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?
What is razor? : asp.net mvc
What is an assembly? Explain its parts.
How can you handle unmanaged code exceptions in asp.net?
What is paging in context of Memory?
Define reflection in .net?
Explain the difference between response.redirect vs server.transfer
How do u declare static variable and how it is declared and what is its lifetime?
If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?