PasswordStrength Control:  It allows you to check the contents of a password in a TextBox control and validate its strength and also give the message.

How we implement the PasswordStrength Control

Example:

Step1: we use the following control on aspx page

 <div>
<%--Using ScriptManager or ToolkitScriptManager according toolkit version--%>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<%-- add the NumericUpDownExtender and textbox--%>
<cc1:PasswordStrength ID="PasswordStrength1" runat="server" TargetControlID="TextBox1">
</cc1:PasswordStrength>
<asp:TextBox ID="TextBox1" runat="server" ></asp:TextBox>
</div>

 Step2: Run the project

It shows the strength of password on textbox changing.

This is the simple example of PasswordStrength control. How it is used in our project.

 

  Modified On Nov-29-2017 08:52:46 PM

Leave Comment