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 |
Is asp.net and .net same?
what are the attributes of sitemapnode?
What are the different types of sessions in asp.net? Name them?
is it possible to develop gaming application using .net technology?
What are navigation controls? How many navigation controls are there in ASP.NET 4.0?
Why would anyone need to implement their own hashtable or linked list?
What are the ways of preserving data on a Web Form in ASP.NET?
What is Web API Routing?
Define data caching?
Explain advantages of caching?
What are custom user controls in asp.net?
Could u send me the answer for this question as soon as possible. Im using 'System.net.mail.mailmessage' namespace for sending a mail from my application. What should I mention in 'system.net.mail.mailmessage.to' property and What should I mention in 'system.net.mail.mailmessage.from' property.