Presentation is loading. Please wait.

Presentation is loading. Please wait.

Rehab AlFallaj.  FilteredTextBox is an extender which prevents a user from entering invalid characters into a text box. Note that since this effect can.

Similar presentations


Presentation on theme: "Rehab AlFallaj.  FilteredTextBox is an extender which prevents a user from entering invalid characters into a text box. Note that since this effect can."— Presentation transcript:

1 Rehab AlFallaj

2  FilteredTextBox is an extender which prevents a user from entering invalid characters into a text box. Note that since this effect can be avoided by deactivating JavaScript, you should use this extender as a convenience for your users, but you must never expect that the data being sent to the server consists of "valid" chars only.

3  TargetControlID - The ID of the text box for this extender to operate on  FilterType - A the type of filter to apply, as a comma-separated combination of :  Numbers.  LowercaseLetters.  UppercaseLetters  Custom,If Custom is specified, the ValidChars field will be used in addition to other settings such as Numbers.  FilterMode - A the filter mode to apply, either ValidChars (default) or InvalidChars. If set to InvalidChars, FilterType must be set to Custom; if set to ValidChars, FilterType must contain Custom.  ValidChars - A string consisting of all characters considered valid for the text field, if "Custom" is specified as the filter type. Otherwise this parameter is ignored.  InvalidChars - A string consisting of all characters considered invalid for the text field, if "Custom" is specified as the filter type and "InvalidChars" as the filter mode. Otherwise this parameter is ignored.  FilterInterval - An integer containing the interval (in milliseconds) in which the field's contents are filtered, defaults to 250.

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

5 Second: Add the control (Button or link )

6 Third: Add FilteredTextBox Extender to each Control. Don’t forget to add TargetControlID

7

8

9 Can you inter anything other than LowerCase letters? Can you inter anything other that numbers? Can you inter anything other than Can you inter anything other than +-*%÷ Try to enter 123 in name textBox Try to enter abc in ID textBox Try to enter !@# 123 abc in math textbox what heppens?

10 Rehab AlFallaj

11 The Accordion CollapsiblePanels The Accordion is a web control that allows you to provide multiple panes and display them one at a time. It is like having several CollapsiblePanels where only one can be expanded at a time. The Accordion is implemented as a web control that contains AccordionPane web controls. Each AccordionPane control has a template for its Header and its Content.

12 First: Add a ToolkitScriptManager

13 Second: Add Accordion from Ajax Control Toolkit

14 Third: Add panes tag

15 Fourth: inside the panes insert AccordionPane as much as you want: 1 AccordionPane = 1 section 2 AccordionPane = 2 sections 3 AccordionPane = 3 sections

16 Fifth: inside each AccordionPane add a Header & a Content tags

17

18

19

20 Tutorial: http://www.asp.net/ajaxlibrary/AjaxControlToolkitSampleSite/ Accordion/Accordion.aspx Video: http://www.asp.net/web-forms/videos/ajax-control- toolkit/how-do-i-use-the-aspnet-ajax-accordion-control


Download ppt "Rehab AlFallaj.  FilteredTextBox is an extender which prevents a user from entering invalid characters into a text box. Note that since this effect can."

Similar presentations


Ads by Google