Download presentation
Presentation is loading. Please wait.
Published byBarry Rich Modified over 9 years ago
1
Rehab AlFallaj
2
PasswordStrength is an ASP.NET AJAX extender that can be attached to an ASP.NET TextBox control used for the entry of passwords. The PasswordStrength extender shows the strength of the password in the TextBox and updates itself as the user types the password. The indicator can display the strength of the password as a text message or with a progress bar indicator. The styling and position of both types of indicators is configurable. The required strength of the password is also configurable, allowing the page author to tailor the password strength requirements to their needs. The text messages that describe the current strength of the password can also be configured and their default values have localization support built-in. The second and third extenders' strings are being pulled from Toolkit resources files. A help indicator can be used to provide explicit instructions about what changes are required to achieve a strong password. The indicator is displayed when the user begins typing into the TextBox and is hidden from view once the TextBox loses focus.
3
1- Add ScriptMnager from Toolbar > AJAX Extentions
4
2- Add TextBox Control for the password entry
5
3- Add PasswordStrength extender. Don’t forget to add TargetControlID
6
Appearance properties include: DisplayPosition to set the position of the feedback text (above, below, left side, or right side). StrengthIndicatorType to choose the type of visual feedback. It can be Text or BarIndicator. When the indicator type is Text. the PrefixText property sets some text to use in the composition of the feedback message. The TextCssClass defines the CSS class to style the feedback message. When the indicator type is BarIndicator, the feedback appears as a gauge bar in a framed area. BarBorderCssClass and BarIndicatorCssClass properties let you style the bar.
7
The following properties allow you to set the password requirements to check: RequiresUpperAndLowerCaseCharacters. PreferredPasswordLength. MinimumNumericCharacters. MinimumSymbolCharacters. By default, the password length is set to10 and no other check is enabled on the contents. The status message is a help message displayed on a companion control identified by the HelpStatusLabelID property
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.