October 2010
Intermediate to advanced
1920 pages
73h 55m
English
Login ControlIf you need to completely customize the appearance of the Login control, you can use a template. The Login control includes a LayoutTemplate property that enables you to customize the layout of the controls rendered by the Login control.
When you create a Layout template, you can add controls to the template that have the following IDs:
• UserName
• Password
• RememberMe
• FailureText
You also need to add a Button control that includes a CommandName property with the value Login.
The page in Listing 26.9 illustrates how you can use a LayoutTemplate to customize the appearance of the Login control (see Figure 26.5).
Figure 26.5. Using a template with the Login control.
Listing 26.9. LoginTemplate.aspx ...
Read now
Unlock full access