Using the Login
Control
The Login
control renders a standard user login form. By default, the Login
control uses ASP.NET Membership to authenticate users. However, as you see in a moment, you can customize how the Login
control authenticates users.
The Login
control supports a large number of properties that enable you to customize the appearance and behavior of the control (too many properties to list here). The page in Listing 26.6 illustrates how you can modify several of the Login
control’s properties to customize the form rendered by the control (see Figure 26.3).
Figure 26.3. Customizing the Login
form.
Listing 26.6. ShowLogin.aspx ...
Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.