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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Dharmraj ThakurRank #577 · 4.2K reputationPosted Jan 15, 2018, 8:08 PM EST
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.
ashwini patel142 reputationPosted Jan 15, 2018, 9:39 PM EST
Dharmraj ThakurRank #577 · 4.2K reputationPosted Jan 15, 2018, 9:47 PM EST