ChangePassword control is ready to use controls to help users change their password. Internally, when it is sung on the page, it is implemented through <table> </ table> HTML tags.
Properties like back collar, foreclosure, border coral, border style, borderwidth, height etc are applied through the style of table, tr, td /> tag.
ChangePassword control uses Membership service to change user's password.
We will try to cover membership provider tutorials in future.
|
Example -
// ChangePassword Control ////////////////////////////
<asp:ChangePassword ID="ChangePassword1" runat="server" BackColor="#F7F6F3" Enabled="False"
BorderColor="#E6E2D8" BorderPadding="4" BorderStyle="Solid" BorderWidth="1px"
Font-Names="Verdana" Font-Size="0.8em">
<CancelButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid"
BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284775" />
<InstructionTextStyle Font-Italic="True" ForeColor="Black" />
<PasswordHintStyle Font-Italic="True" ForeColor="#888888" />
<ChangePasswordButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid"
BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284775" />
<ContinueButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid"
BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284775" />
<TitleTextStyle BackColor="#5D7B9D" Font-Bold="True" Font-Size="0.9em" ForeColor="White" />
<TextBoxStyle Font-Size="0.8em" />
</asp:ChangePassword>
0 comments:
Post a Comment