Tuesday, May 01, 2012 9:28 AM
As we all
know that MS has already given user management in ASP web development. Thanks to MS.<o:p></o:p>
Now, I want to customize it. Means...<o:p></o:p>
I'll be having some buttons that will be only visible when user login as administrator.
For normal user the button is disable. I do not want to make a separate .aspx
for login; but, with the same login feature [that is already provided] I want
to achieve this.<o:p></o:p>
Please tell me how to do this or send me any link.<o:p></o:p>
- Moved by Bob ShenMicrosoft Contingent Staff Wednesday, May 09, 2012 2:35 AM (From:Visual C# Language)
Tuesday, May 01, 2012 10:51 AM
You can use the LoginView control: http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.loginview.aspx.
With that, you can define different content to be shown to authenticated and anonymous users.