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
Why and where this web.config file is used?
Describe session handling in a webfarm, how does it work and what are the limits?
In early binding will the method invoked on com component will verify it?s existance in the system or not ?
What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
Whats the difference between abstract factory pattern and factory pattern?
Is it possible for me to change my aspx file extension to some other name?
Explain asp.net page life cycle?
What are the event handlers that we can have in global.asax file?
Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?
Why do I get error message "could not load type" whenever I browse to my asp.net web site?
What is AutoPostback?
A Web Service Can Only Be Written In .net. Is it True??
What is the difference between application state and caching?
What is the difference between page.registerclientscriptblock and page.registerstartupscript?
when a request is made in Life cycle of ASP.NET page .