Implementing AJAX Confirm Button Extender & Password Strength Extender
Implementing AJAX Confirm Button Extender and Password Strength Extender in ASP.NET projects enhances user interaction and security. The Confirm Button Extender catches button clicks to display messages for user confirmation, while the Password Strength Extender visually represents password strength as users type. Learn how to set up these extenders using ToolkitScriptManager and attach them to buttons, links, or textboxes with configurable settings for strength requirements and indicator styles. Improve user experience and security with these AJAX features.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
AJAX CONFIRM BUTTON EXTENDER Rehab AlFallaj
CONFIRM BUTTON ConfirmButton is a simple extender that catches clicks on a button (or any instance of a type derived from Button) and displays a message to the user. If the "OK" button is clicked, the button or link functions normally. If not, the click is trapped and the button will not perform its default submit behavior;
First you need to add a reference to your AjaxControlKit in your project
First: Add a ToolkitScriptManager from Toolbar> AJAX Control Toolkit
Third: Add the AJAX ConfirmButtonExtender Don t forget to add TargetControlID
AJAX PASSWORD STRENGTH EXTENDER Rehab AlFallaj
AJAX PASSWORD STRENGTH EXTENDER 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.
First: Add a ToolkitScriptManager from Toolbar> AJAX Control Toolkit
3- Add PasswordStrength extender. Don t forget to add TargetControlID
MORE PROPERTIES TO BE USED: Appearance properties include: DisplayPosition to set the position of the feedback text (above, below, left side, or right side). StrengthIndicatorTypeto choose the type of visual feedback. It can be Textor BarIndicator. When the indicator type is Text. the PrefixTextproperty sets some text to use in the composition of the feedback message. The TextCssClassdefines 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. BarBorderCssClassand BarIndicatorCssClass properties let you style the bar.
MORE PROPERTIES TO BE USED: The following properties allow you to set the password requirements to check: RequiresUpperAndLowerCaseCharacters. PreferredPasswordLength. MinimumNumericCharacters. MinimumSymbolCharacters. By default, the password length is set to10and no other check is enabled on the contents. The status message is a help message displayed on a companion control identified by the HelpStatusLabelIDproperty