Introduction :
This control evaluates the strength of the password entered and also displays a message to the end user about the password strength .
Example – PasswordStrength
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>PasswordStrengthControl Extender</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<ajaxToolkit:ToolkitScriptManager ID="Sc1" runat="server">
</ajaxToolkit:ToolkitScriptManager>
Enter Password:<asp:TextBox ID="txtPassword" runat="server" TextMode="Password" >
</asp:TextBox>
<br />
<br />
<ajaxToolkit:PasswordStrength ID="PasswordStrength1" runat="server"
TargetControlID="txtPassword" >
</ajaxToolkit:PasswordStrength>
</div>
</form>
</body>
</html>
Output :
No comments:
Post a Comment