What for use web.sitemap in asp.net?
Answer / 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 |
How do you do client-side validation in .net? How to disable validator control by client side javascript?
How do cookies work?
How many types of Cookies are available in ASP.NET?
how to add cliet side event to server side? and how to register client script to sever side? wt difference these two
What is _dopostback in asp net?
Which methods validate all the controls on a page?
What is the difference between web.config and machine.config in ASP.NET?
Explain server-side scripting and client-side scripting.
Can we have multiple worker process in an ASP.NET application? If so then how it has been handled by application? And who handles it?
0 Answers InfoAxon Technologies,
Explain the main function of razor in asp.net? : asp.net mvc
What is the difference between globalization and localization?
How to disable cut, copy and paste in TextBox using jQuery in asp.net?