Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi..I have a sitemap in my asp.net page. Based on the login credentials I want to make some of the nodes in sitemap invisible. How can I do that without using roles in asp.net.
Posted

1 solution

The simplest thing that pop ups in my mind is putting the sitemap in LoginView control and then on ViewChanging event get the username and based on your rules bind a different data source on the site map.

This is an idea, try it.


Cheers
 
Share this answer
 
Comments
Member 8876127 26-Apr-12 5:48am    
Can you please give me some elaborate explanation because I have tried something like this and it did not work.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900