﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>coding</title><link>http://www.gentlesight.com/coding</link><description /><language>fa</language><generator>GentleSight.com</generator><copyright>(c) 2007, GentlBlog. All rights reserved.</copyright><lastBuildDate>2007/08/22 03:47:00 ب.ظ</lastBuildDate><item><title>SiteMapPath</title><link>http://www.gentlesight.com/coding/post/?159</link><description>&lt;p align="left"&gt;The SiteMapPath control displays a list of links representing the user's current page and the hierarchal path back to the root of the website. This functionality is sometimes referred to as a breadcrumb for the user. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;How to: Add Simple Site Navigation&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;To use these site-navigation controls, you must describe the structure of your Web site in a Web.sitemap file.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;To create a Web.sitemap file&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;Create a file in the root directory of your Web site called Web.sitemap.&lt;br /&gt;Open the Web.sitemap file and add the following code (for example).&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt;&lt;br /&gt;&amp;lt;siteMap&amp;gt;&lt;br /&gt;  &amp;lt;siteMapNode title=&amp;quot;Home&amp;quot; url=&amp;quot;~/default.aspx&amp;quot; &amp;gt;&lt;br /&gt;    &amp;lt;siteMapNode title=&amp;quot;Contact Us&amp;quot; url=&amp;quot;~/Contact.aspx&amp;quot;/&amp;gt;&lt;br /&gt;    &amp;lt;siteMapNode title=&amp;quot;About us&amp;quot; url=&amp;quot;~/About.aspx&amp;quot;/&amp;gt;&lt;br /&gt;  &amp;lt;/siteMapNode&amp;gt;&lt;br /&gt;&amp;lt;/siteMap&amp;gt;&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;&lt;p align="left"&gt;Save your file and then close it.&lt;/p&gt;&lt;p align="left" /&gt;&lt;p align="left"&gt;&lt;br /&gt;To add site navigation to a Web page&lt;br /&gt;Create a file in the root directory of your Web site called Training.aspx.&lt;/p&gt;&lt;p align="left"&gt;Open Training.aspx and add the following code.&lt;/p&gt;&lt;p align="left" /&gt;</description><pubDate>2007/08/22 03:47:00 ب.ظ</pubDate><comments>http://www.gentlesight.com/Comments.aspx?PostID=159</comments><creator>leila sinaki</creator><guid>http://www.gentlesight.com/coding/post/?159</guid></item></channel></rss>