You could provide altername web.sitemaps files for each role, then configure
multiple XmlSiteMapProviders in web.config, then dynamically assign the ProviderName
property to the SiteMapDataSource based upon the role.
-Brock
http://staff.develop.com/ballen
> Hi
> I want to create a horizontal menu on my website being built using
[quoted text clipped - 13 lines]
> Sri
> *** Sent via Developersdex http://www.developersdex.com ***
Jules - 21 Jun 2006 18:01 GMT
hi
i hope i understand your problem. for each type of role, you would like to
show a specific menu. ok, try this
<siteMapNode url="gohere.aspx" title="You are here" description="You cannot
see me" roles ="Admin" />
as you can see, you can add the role that is allow to see the menu. only
users with the role admin will be able to see the menu"you are here"
happy programming!!!
Jules
> You could provide altername web.sitemaps files for each role, then
> configure multiple XmlSiteMapProviders in web.config, then dynamically
[quoted text clipped - 21 lines]
>> Sri
>> *** Sent via Developersdex http://www.developersdex.com ***
Jules - 21 Jun 2006 18:09 GMT
hey
i forgot to add that if you want to menu to be horizontal instead of
vertical, check the properties of the menu and there is a property
"Orientation" change it to what ever you want.
happy programming!!!
Jules
> You could provide altername web.sitemaps files for each role, then
> configure multiple XmlSiteMapProviders in web.config, then dynamically
[quoted text clipped - 21 lines]
>> Sri
>> *** Sent via Developersdex http://www.developersdex.com ***