Click here to Skip to main content
15,886,519 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone,
I'm working on a project where I have 2 roles say admin, merchant. Different Menu Items are displayed for different role users.

Admin should have menu items like home, aboutus, reports, merchantmanagement, productmanagment.

Merchant should have only home, aboutus, reports, productmanagment.

Please help me to solve this.
May I know can we achieve it with out using sitemap concept.

any kind of help will be appreciated.

Thanks,
Rohith.
Posted

1 solution

A similar thing is being done in this project:

YaBlogEngine - A Tiny Blog Engine written in ASP.NET/C#[^]

Check out the code in the MasterPage code behind of the Admin folder. This is not the only way but this is one way to implement this.
 
Share this answer
 

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