<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Master Pages, Themes and Navigation Controls</title><link>http://forums.asp.net/139.aspx</link><description>Discussions of MasterPages, Themes, and other page-related features. &lt;A href="http://aspadvice.com/SignUp/list.aspx?l=164&amp;amp;c=30" target=_blank&gt;Email List&lt;/A&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Building Menus Dynamically</title><link>http://forums.asp.net/thread/694691.aspx</link><pubDate>Thu, 16 Sep 2004 22:21:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:694691</guid><dc:creator>yaip</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/694691.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=694691</wfw:commentRss><description>I also want to do the same but was not getting a good example. Unlike you, I'd like it in vb. Could you please post your example if you get it. I'll do the same. I guess these are the perils of living on a bleeding-edge. Lack of good documentation. But I am sure MS will sort this out when they go GA.</description></item><item><title>Re: Building Menus Dynamically</title><link>http://forums.asp.net/thread/694624.aspx</link><pubDate>Thu, 16 Sep 2004 21:17:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:694624</guid><dc:creator>ezeckiel</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/694624.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=694624</wfw:commentRss><description>Hello,
&lt;br /&gt;

&lt;br /&gt;
I need to write a class extends SiteMapProvider class too, but I'm a newbie in C# and I don't know how to write it :'(. I would like to populate the SiteMapDataSource with a Sqlserver Table.
&lt;br /&gt;

&lt;br /&gt;
somebody could write a short example please ?
&lt;br /&gt;

&lt;br /&gt;
Thanks very well !</description></item><item><title>Re: Building Menus Dynamically</title><link>http://forums.asp.net/thread/691501.aspx</link><pubDate>Tue, 14 Sep 2004 08:57:01 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:691501</guid><dc:creator>Dave Sussman</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/691501.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=691501</wfw:commentRss><description>Are you saying you've written a DataSource control that fetches data directly from the database? If so that's the reason the SiteMapPath isn't working, as it hooks into the site map provider, not the data source control. You can see this by the fact that you don't need a SiteMapDataSource control to use the SiteMapPath.
&lt;br /&gt;

&lt;br /&gt;
What you need to do is write a provider. Once written (the text provider in the docs is a good base), you can plug it it by adding the provider to the &amp;lt;providers&amp;gt; element of the &amp;lt;siteMap&amp;gt; section in web.config:
&lt;br /&gt;

&lt;br /&gt;
&amp;lt;siteMap enabled=&amp;quot;true&amp;quot;&amp;gt;
&lt;br /&gt;
  &amp;lt;providers&amp;gt;
&lt;br /&gt;
    &amp;lt;add name=&amp;quot;myProvider&amp;quot; description&amp;quot;...&amp;quot; type=&amp;quot;namespace.class&amp;quot;
&lt;br /&gt;
       [provider-specific-properties] /&amp;gt;
&lt;br /&gt;
  &amp;lt;/providers&amp;gt;
&lt;br /&gt;
&amp;lt;/siteMap&amp;gt;
&lt;br /&gt;

&lt;br /&gt;
You can then use this in your pages:
&lt;br /&gt;

&lt;br /&gt;
&amp;lt;asp:SiteMapDataSource Provider=&amp;quot;myProvider&amp;quot; ... /&amp;gt;
&lt;br /&gt;

&lt;br /&gt;
&amp;lt;asp:SiteMapPath Provider=&amp;quot;myProvider&amp;quot; ... /&amp;gt;
&lt;br /&gt;

&lt;br /&gt;
Dave</description></item><item><title>Re: Building Menus Dynamically</title><link>http://forums.asp.net/thread/681551.aspx</link><pubDate>Wed, 01 Sep 2004 16:44:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:681551</guid><dc:creator>yaip</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/681551.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=681551</wfw:commentRss><description>I've got the SiteMapDataSource working correctly where it fetches data from my SQL Server database. However, my SiteMapPath is not showing at all. This is a very important feature. I thought that since my SiteMapDataSource is updated correctly, my SiteMapPath would automatically be reflecting the changes. Do I need to do something for my SiteMapPath to show. If yes, where?</description></item><item><title>Re: Building Menus Dynamically</title><link>http://forums.asp.net/thread/680653.aspx</link><pubDate>Tue, 31 Aug 2004 17:16:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:680653</guid><dc:creator>yaip</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/680653.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=680653</wfw:commentRss><description>In MSDN help, they are showing an example on how to do that with a text file. But it is just a source code. It doesn't tell you how and where to plug it in. Where to pass the values, etc.</description></item><item><title>Re: Building Menus Dynamically</title><link>http://forums.asp.net/thread/680609.aspx</link><pubDate>Tue, 31 Aug 2004 16:27:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:680609</guid><dc:creator>Fredrik N</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/680609.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=680609</wfw:commentRss><description>To build your own SiteMapProvider for the SiteMapDataSOurce control, you have to create a class that inherits the SiteMapProvider and implements the functiannality to get nodes etc from a Sql server.</description></item><item><title>Building Menus Dynamically</title><link>http://forums.asp.net/thread/680591.aspx</link><pubDate>Tue, 31 Aug 2004 16:03:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:680591</guid><dc:creator>yaip</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/680591.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=680591</wfw:commentRss><description>I want to use the SiteMapDataSource object with providing my own SiteMapProvider. This SiteMapProvider could be my SQL Server database where my Menu tables will be stored. Here is what I would want to do. 
&lt;br /&gt;

&lt;br /&gt;
- Read the SQL Server database
&lt;br /&gt;
- Populate the file (?) which is required by SiteMapDataSource
&lt;br /&gt;
- Use SiteMapDataSource to build my menu</description></item></channel></rss>