Group Discounts available for 3+ students and Corporate Clients

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.


lowercase letters


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.


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


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.


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









</asp:HTML EditorExtender>

“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, 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 *


    Please Enter Your Details and Query.
    Three + 6