Oleg Medyanik
Top achievements
Rank 1
Oleg Medyanik
asked on 05 Oct 2009, 12:37 PM
Hi,
Can i clear all filter using client side API.
I am using get_filterExpressions().clear();
bu i also want to clear values in inputs.
Thank you in advance.
Can i clear all filter using client side API.
I am using get_filterExpressions().clear();
bu i also want to clear values in inputs.
Thank you in advance.
4 Answers, 1 is accepted
0
Hello Oleg,
In this case, you would need to get a reference to the client object of the textbox, and set its valud on the client. You can get a reference to it by using its client id.
I hope this suggestion helps.
Best wishes,
Yavor
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.
In this case, you would need to get a reference to the client object of the textbox, and set its valud on the client. You can get a reference to it by using its client id.
I hope this suggestion helps.
Best wishes,
Yavor
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
Oleg Medyanik
Top achievements
Rank 1
answered on 12 Oct 2009, 08:13 AM
Hi Yavor ,
Can you please show small example - ho do i get Client ID of filter box, for example, if column name = 'Company Name'?
Thanks.
Can you please show small example - ho do i get Client ID of filter box, for example, if column name = 'Company Name'?
Thanks.
0
Accepted
Hi Oleg,
You can get a reference to the filter textbox in the code-behind, as shown in the following article:
http://www.telerik.com/help/aspnet-ajax/grdsettingfiltertextboxdimensions.html
Subsequent to this, you can access the client id of the textbox, and store it on the page, for example in a hidden field, which can be easily accessed on the client, at a later stage.
I hope this information helps.
Greetings,
Yavor
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.
You can get a reference to the filter textbox in the code-behind, as shown in the following article:
http://www.telerik.com/help/aspnet-ajax/grdsettingfiltertextboxdimensions.html
Subsequent to this, you can access the client id of the textbox, and store it on the page, for example in a hidden field, which can be easily accessed on the client, at a later stage.
I hope this information helps.
Greetings,
Yavor
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
Oleg Medyanik
Top achievements
Rank 1
answered on 15 Oct 2009, 09:57 AM
Thanks Yavor!