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
Define xmlreader class.
What is session in asp.net?
What are different methods of session maintenance in asp.net?
When using the Pager object, inorder to know which page to go, which property you have to set to grid?
What are the ways of preserving data on a Web Form in ASP.NET?
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?
Explain a program using code nuggets to create a simple application? : asp.net mvc
Is it possible to change the index of primary key on table?
Explain why datareader is useful?
What is parse in asp.net?
What are the cookies types in asp.net?
Are there resources online with tips on asp to asp.net conversions?
What is the use of placeholder control? Can we see it at runtime?
What are the differences between application object and session object?
What is the usage of DelegatingHandler?