articles

Home / DeveloperSection / Articles / ASP.Net AJAX Server Control: PasswordStrength Control

ASP.Net AJAX Server Control: PasswordStrength Control

Uttam Misra 9112 30-Sep-2010

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.

 


Updated 04-Mar-2020
More than 18 years of working experience in IT sector. We are here to serve you best.

Leave Comment

Comments

Liked By