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

[Solved] Filter Row Text

3 Answers 93 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Gagan Garg
Top achievements
Rank 1
Gagan Garg asked on 07 Jul 2009, 11:42 AM
Hi Guys,

Is there a way to Client side filter a grid on multiple columns? As an example, say I have two columns; Title & Description. If I have a textbox where someone can enter a filter term I want to be able to use that serch term on both columns in an OR fashion to accomplish the following




3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 09 Jul 2009, 12:50 PM
Hello Gagan,

Basically, you can trigger the filter command for the control on the client. However, to perform the operation, the code will cause a trip to the server. In this case, you can also consider simply making an ajax request to the server, where you can set the RadGrid1.MasterTableView.FilterExpression directly, taking into account more than one requirement via the OR clause.
I hope this helps.

Best wishes,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Gagan Garg
Top achievements
Rank 1
answered on 09 Jul 2009, 01:12 PM
Thanks for your response

Can you please send me a sample in which row filter is implemented on client end
0
Yavor
Telerik team
answered on 09 Jul 2009, 01:24 PM
Hello Gagan,

The following example:

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filtertemplate/defaultcs.aspx

shows one possible option. I hope it helps.

Regards,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Gagan Garg
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Gagan Garg
Top achievements
Rank 1
Share this question
or