vishnu suresh

vishnu suresh

  • NA
  • 53
  • 16k

panel cntrl for specific users

Dec 28 2014 1:36 AM

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)