Using Templates with the PasswordRecovery Control

If you need to completely customize the appearance of the PasswordRecovery control, you can use templates. The PasswordRecovery control supports the following three types of templates:

UserNameTemplate

QuestionTemplate

SuccessTemplate

The page in Listing 26.37 illustrates how you can use all three of these templates.

Listing 26.37. PasswordRecoveryTemplate.aspx

images

images

images

The UserNameTemplate must ...

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.