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 the purpose of url encoding?
how to debug web services on consumer side?
What is the use of execute non query in asp.net?
What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?
What is a web api?
What is the purpose of master page?
What is a 1x1 pixel?
Where is session data stored in asp net?
What is runat?
Why Unload event of MasterPage Calls first in ASP.net ?
What are type/key pairs in client script registration?
What is server components?
What are the types of session in asp.net?
What is the used of "ispostback" property?
What’s difference between “optimistic” and “pessimistic” locking?