B
Bazza Formez
Hi,
I am building a new site where I want to utilise the new Menu control
feature with .Net 2.0.
I can see how this normally works, ie. by defining a SiteMapDataSource
control and use of the map.sitemap xml file which defines the menu
nodes & sub-nodes that will be used to build the menu.
My problem is this : I want the menu displayed to be dependent on the
role of the logged on user. If an Administrator logs in, I want to
display a very different menu to that which is to display when a
standard user logs in.
Is this possible ? I really need multiple versions of the web.sitemap
file .. & use the appropriate file for the role of the user. But, I
the web.sitemap is something that loads at application startup
apparently - and is shared for all users of the app in that case.
Surely this must be a common requirement (?)
Can anyone suggest anything ?
Thanks!
Bazza
I am building a new site where I want to utilise the new Menu control
feature with .Net 2.0.
I can see how this normally works, ie. by defining a SiteMapDataSource
control and use of the map.sitemap xml file which defines the menu
nodes & sub-nodes that will be used to build the menu.
My problem is this : I want the menu displayed to be dependent on the
role of the logged on user. If an Administrator logs in, I want to
display a very different menu to that which is to display when a
standard user logs in.
Is this possible ? I really need multiple versions of the web.sitemap
file .. & use the appropriate file for the role of the user. But, I
the web.sitemap is something that loads at application startup
apparently - and is shared for all users of the app in that case.
Surely this must be a common requirement (?)
Can anyone suggest anything ?
Thanks!
Bazza