1
Reply

panel cntrl for specific users

vishnu suresh

vishnu suresh

Dec 28 2014 1:36 AM
567

I hve created asp.net web  application,in which I want to hide panel in a page for some specific users. only admin can see the panel. I have created admin and other user.after logging, for admin the panel is not showing.

Panel1.Visible = (User.Identity.Name == "admin");

pls help
 


Answers (1)