How to check the strength of the password using PasswordStrength Ajax control in

This post expalins how to check the strength of the password which is entered in the

text box using PasswordStrength control from ajaxtoolkit.

The source page is as follows:

<html xmlns=””>

<head runat=”server”>

<title> Password Strength control Example</title>

<style type=”text/css”>











<form id=”form1″ runat=”server”>


<asp:ToolkitScriptManager runat=”server”>


<asp:Panel ID=”p1″ runat=”server” CssClass=”c1″>

Password Strength:

<asp:TextBox ID=”t2″ runat=”server”></asp:TextBox>

<asp:PasswordStrength ID=”ps1″ runat=”server” TargetControlID=”t2″

DisplayPosition=”RightSide” StrengthIndicatorType=”Text” PreferredPasswordLength=”12″

PrefixText=”strength:” MinimumNumericCharacters=”2″

MinimumSymbolCharacters=”2″ RequiresUpperAndLowerCaseCharacters=”false”

TextStrengthDescriptions=” weak;average;strong;excellent”








Check out Best Alternative to InfoPath -> Try Now

You May Also like the Following SharePoint Online Tutorials:

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site

View all posts by Bijay Kumar →