hello frnds,,
how to hide some buttons for users and show some buttons for admin in c#
i have to hide the DELETE button for users and show that DELETE buttons for admin .
pls help me frnd ,,, so much time i spend for it :) :) :)
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dharmraj ThakurPosted Jan 16, 2018, 2:47 AM
ashwini patelPosted Jan 16, 2018, 2:39 AM
Dharmraj ThakurPosted Jan 16, 2018, 1:08 AM
2. Create ModuleMaster(means Menu or Page) table
3. Create AccessRightMaster table
4. Create Mapping table of User, Module, Access as per your logic.
5. Now, Before every page loading check which user is logged in, what pages and access is given to respective user then load page elements as per user permissions.