<?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>Navigation design question, rewrite XML or custom provider?</title><link>http://forums.asp.net/thread/1028691.aspx</link><pubDate>Mon, 22 Aug 2005 21:32:40 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1028691</guid><dc:creator>nickpup</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1028691.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=1028691</wfw:commentRss><description>&lt;SPAN&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;I am asking the following on &lt;A href="http://www.asp.net/"&gt;www.asp.net&lt;/A&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;I have been looking at the (very nice) site navigation capabilities in ASP.NET 2.0.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;We are working on a reporting site, that will allow the user to chose from available reports based on their login.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;We plan on using a Report Viewer control to render the reports and I want to use the Navigation capability to allow the user to see the reports available to them, based on their login Id, then kickoff the desired report when they select from the menu.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;We have much of the information stored in SQL Server 2000 tables, including User, Role, Reports and Module tables, which group the reports and allow access to the whole group.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Each report may have some sort of parameter.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;There is also a table that relates modules to roles.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Users in the correct roles have access to that module.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Users should only be able to see the reports they have authorization for.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;What might be the best way to implement this?&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;I know I could rewrite the XML file containing the site map, on page load for example, based on the current DB contents - or I could write a custom provider or some combination of both.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;I am looking for alternative design ideas here – all welcome!&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;Thanks,&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;Nick&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;/SPAN&gt;&lt;/P&gt;</description></item></channel></rss>