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

ASP.Net AJAX Server Control: PasswordStrength Control


AJAX AJAX 
Ratings:
0 Comment(s)
 6907  View(s)
Rate this:

ASP.Net AJAX Server Control: PasswordStrength Control


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.

 


Don't want to miss updates? Please click the below button!

Follow MindStick