DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   ASP.NET (http://www.daniweb.com/forums/forum18.html)
-   -   Include roles in SiteMap - Tree control (http://www.daniweb.com/forums/thread167154.html)

koppv0 Jan 9th, 2009 4:15 am
Include roles in SiteMap - Tree control
 
Hi,
I am using a TreeView control to populate the left navigation . I feed data from a sitemap. Can anyone provide sample code how I can implement the role based navigation. Assume my application has 3 roles R1, R2 and R3. Now by default all the links appear for all the roles and if I need to implement the logic in DataBound event. Is there any automatic configuration that will take the roles as input and bind the navigation?


All times are GMT -4. The time now is 9:25 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC