• USA : +1 973 910 5725
  • INDIA: +91 905 291 3388
  • info@tekslate.com
  • Login

Ajax Filtered TextBox Extender

Filtered TextBox Extender

This control is used to filter the characters allowed into the textbox.

TargetControlID :

FilterType : Used to specify which type of filter to apply for the target control . It has 4 possible values.

custom

lowercase letters

numbers

Uppercase letters

 

Filtermode : Used to specify the mode to specify to filter the characters allowed in to the target control, and it has two possible values.

ValidChars : Used to specify the characters to allow into the textbox when filter mode is set to valid chars.

Invalid chars : When filtermode property is set, to invalid chars then use this property to specify the list of characters that you don’t want to allow into the target control.

Example

The following example uses filtered text box extender to allow any character other than uppercase characters into a text box.

Add a page to the website and then take a Toolkit script manager and a textbox on the page, set ID of that textbox as T1

Within HTML source of the page drag & drop a filter textbox extender and set following properties for it.

<asp:filteredTextBoxExtender ID=”Filtered TextBox Extender1” runat=”server” TargetControlID=”T1” filterMode=”InvalidChars” Invalidchars=”ABCDEFGHIJKLMNOPQRSTUVWXYZ”>

</asp:filteredTextBoxExtender>

HTML EDITOR Extender: HTML editor extender is used to extend a textbox and aloe the user to edit the text in textbox .Similar to the editor provided to type the email message while sending email. It has the property ‘Toolbar’ to specify which buttons you want with in the Toolbar of HTML editor Extender.

Example

The following example makes a textbox as editor as textbox as an editor by using Html editor Extender.

Add a page to the website , take a toolkit script manager on it along with a textbox and set ID of the textbox as T1.

With in HTML source of the page drag and drop HTML editorExtender and set following properties to it

<asp: HTMLEditor Extender ID=”HTML editor Extender runat =”sever” TargetcontrolID =”T1” Enable sanitization=”false”>

<Toolbar>

<asp:Bold/>

<asp:Italic/>

<asp:UnderLine/>

<asp:cut/>

<asp:copy/>

<asp:paste/>

</Toolbar>

</asp:HTML EditorExtender>

Summary
Review Date
Reviewed Item
Ajax Filtered TextBox Extender
Author Rating
4

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on Ajax Filtered TextBox Extender"

Leave a Message

Your email address will not be published. Required fields are marked *

Site Disclaimer, Copyright © 2016 - All Rights Reserved.