koppv0 0 Newbie Poster

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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.