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


Step1: we use the following control on aspx page

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

 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.


Leave Comment