This is a migrated thread and some comments may be shown as answers.

[Solved] Clear the combo footertemplate textboxs in client side

2 Answers 92 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Suresh Kannan
Top achievements
Rank 1
Suresh Kannan asked on 17 Nov 2009, 01:02 PM
Hi,

  Combo with checkboxs,

i hav a "Clear" button on the header template , textboxs on footer template. 

If i click the "Clear" button, uncheck all the items that is done. also wants to clear the Textbox values on the footer template ????..

how to achieve this in "Client Side"....Plz suggest ..

Thanks & Regards,

Suresh Kannan P

2 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 17 Nov 2009, 05:09 PM
Hi Suresh Kannan,

You could use jQuery to locate the text input and clear its value attribute with the following code:

$telerik.$("input[type=text]", comboBox.get_dropDownElement())[0].value = "";

Best wishes,
Simon
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Suresh Kannan
Top achievements
Rank 1
answered on 18 Nov 2009, 09:44 AM
Very Good...working nice
Tags
ComboBox
Asked by
Suresh Kannan
Top achievements
Rank 1
Answers by
Simon
Telerik team
Suresh Kannan
Top achievements
Rank 1
Share this question
or