PasswordRecovery control is a ready to use control to help user to recover their password, if they forget.
It has separate templates for each view that can be easily customized.
Internally, When it is rendered on the page, it is implemented through <table></table> HTML tag.
Its properties like BackColor, ForeColor, BorderColor, BorderStyle, BorderWidth, Height etc.
are implemented through style properites of <table, tr, td/> tag.
PasswordRecovery control uses Membership service to retrieve or reset user's password.
DEMO : PasswordRecovery
|
Show Source Code
|
NOTE: This example is not working as this control users in-built Membership and Role Manager Providers, We will try to cover membership provider tutorials in future.
|
|
// PasswordRecovery Control ////////////////////////////
<asp:PasswordRecovery ID="PasswordRecovery1" runat="server" BackColor="#F7F6F3" BorderColor="#E6E2D8" BorderPadding="4" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em">
<InstructionTextStyle Font-Italic="True" ForeColor="Black" />
<SuccessTextStyle Font-Bold="True" ForeColor="#5D7B9D" />
<TextBoxStyle Font-Size="0.8em" />
<TitleTextStyle BackColor="#5D7B9D" Font-Bold="True" Font-Size="0.9em" ForeColor="White" />
<SubmitButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid"
BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284775" />
</asp:PasswordRecovery>
|