Home  |  Contact us    
Loginview Control in Asp.Net 2.0


What is LoginView control in ASP.NET 2.0?

LoginView Control: This control provides templates in which you can create different content for anonymous and authenticated users. The LoginView control is also role-aware, so you can actually create different templates for authenticated users in different roles.


The control displays one of two templates: the AnonymousTemplate or the LoggedInTemplate. In the templates, you can add markup and controls that display information appropriate for anonymous users and authenticated users, respectively.

The LoginView control also includes events for ViewChanging and ViewChanged, which allow you to write handlers for when the user logs in and changes status.

Category: ASP.NET 2.0 Faqs, Interview Questions & Answers



Ask New Questions
Microsoft.Net Framework
.Net 2.0 Namespaces
.Net Assemblies
OOPS Faqs in C#
ASP.Net Faqs
ASP.Net 2.0 Faqs
Web Services Faqs
ADO.Net Faqs
Database Faqs
OOPS Faqs
IT Project Management