Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
VB
<ajaxToolkit:PasswordStrength ID="PS" runat="server"
        TargetControlID="TextBox1"
        DisplayPosition="RightSide"
        StrengthIndicatorType="Text"
        PreferredPasswordLength="10"
        PrefixText="Strength:"
        TextCssClass="TextIndicator_TextBox1"
        MinimumNumericCharacters="0"
        MinimumSymbolCharacters="0"
        RequiresUpperAndLowerCaseCharacters="false"
        TextStrengthDescriptions="Very Poor;Weak;Average;Strong;Excellent"
        TextStrengthDescriptionStyles="cssClass1;cssClass2;cssClass3;cssClass4;cssClass5
        CalculationWeightings="50;15;15;20" />


I am also using like this. But I want to get the strength value showing by this control. So that before saving I can find out user password meets all complexity requirements or not.
Posted
Comments
[no name] 5-Dec-12 5:11am    
Why you need it ??
mayankkarki 5-Dec-12 5:33am    
Just to save my resources and users time. Because server won't allow to save a password that doesn't meet its complexity requirements. So its better before getting error I give a message to user.
pradiprenushe 5-Dec-12 5:23am    
If you want to use telerik then refer this link. this is having event for strength change in which you can get strength.
http://demos.telerik.com/aspnet-ajax/input/examples/common/passwordstrengthchecker/defaultcs.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900