Presentation is loading. Please wait.

Presentation is loading. Please wait.

AJAX Confirm Button Extender

Similar presentations


Presentation on theme: "AJAX Confirm Button Extender"— Presentation transcript:

1 AJAX Confirm Button Extender
Rehab AlFallaj

2 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;

3 First you need to add a reference to your AjaxControlKit in your project

4 First: Add a ToolkitScriptManager from Toolbar> AJAX Control Toolkit

5 Second: Add the control (Button or link )

6 Third: Add the AJAX ConfirmButtonExtender
Don’t forget to add TargetControlID

7

8 AJAX Password Strength Extender
Rehab AlFallaj

9 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.

10 First: Add a ToolkitScriptManager from Toolbar> AJAX Control Toolkit

11 2- Add TextBox Control for the password entry

12 3- Add PasswordStrength extender.
Don’t forget to add TargetControlID

13 More properties to be used:
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.

14 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 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

15

16

17

18

19


Download ppt "AJAX Confirm Button Extender"

Similar presentations


Ads by Google