Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ajax password strength extrender

Status
Not open for further replies.

Badgers

Programmer
Nov 20, 2001
187
0
0
US
Hi,

I'm using the password extender and even though it says what your password stregnth is, it doesn't stop you from doing a postback.

So you could part-type your password and still update it.

has anyones came across this:

<asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
<ajaxControlToolkit:passwordStrength ID="txtPassword_PasswordStrength" runat="server"
TargetControlID="txtPassword" DisplayPosition="BelowRight"
PrefixText="Your password is " StrengthIndicatorType="Text"
MinimumNumericCharacters="1" MinimumSymbolCharacters="1" PreferredPasswordLength="6"
RequiresUpperAndLowerCaseCharacters="true" TextStrengthDescriptions="Weak; Not Good; Good"
TextStrengthDescriptionStyles="TextStrengthWeak; TextStrengthNotGood; TextStrengthGood">
</ajaxControlToolkit:passwordStrength>


<asp:Button ID="btnRegister" runat="server" Text="Register"
onclick="btnRegister_Click" />

Thanks

 
the password extender is informative for the user. it acts as a warning, but doesn't prevent weak or moderately strong passwords.

Jason Meckley
Senior Programmer

faq855-7190
faq732-7259
My Blog
 
Hi,

In the end I added a regular expression validator and built a dynamic script server side to set it.

Seems all good now, looking back I should of done it in jquery...!

Thanks any way.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top