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

Radgrid filter option

5 Answers 87 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeff Tang
Top achievements
Rank 1
Jeff Tang asked on 17 Oct 2008, 05:16 AM
There are several filter options in the drop down list.(eg. no filter, contains) Can these options being called in server side code to filter the grid data instead of using the drop down list? Thanks.

5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 17 Oct 2008, 06:22 AM
Hi Jeff,

You can use FireCommandEvent to achieve this. Please check this link for more info:
http://www.telerik.com/help/aspnet-ajax/grdfilteringbylisttextfieldforgriddropdowncolumn.html

Greetings,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jeff Tang
Top achievements
Rank 1
answered on 17 Oct 2008, 06:29 AM
Thanks. And one more follow-up question. The filter option "Contains" will filter the corresponding column, that is case-sensitive. Can I change it to not case-sensitive? Thanks.
0
Vlad
Telerik team
answered on 17 Oct 2008, 06:43 AM
Hi Jeff,

You can set GroupingSettings.CaseSensitive to false to disable this.

Regards,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jeff Tang
Top achievements
Rank 1
answered on 21 Oct 2008, 04:21 AM
I have no idea how to use the FireCommandEvent. Actual the thing I want to do is after the user fill in the filter textbox the he/she will click a button ( instead of the default drop down list option) to trigger the filter action "contains"(but non case sensitive) , and there is another button for them to cancel the filter( same as "no filter" option), Would you please show me how can I do this with the FireCommandEvent? Thanks.
0
Pavel
Telerik team
answered on 23 Oct 2008, 11:45 AM
Hello Jeff,

I have prepared and attached a sample website to demonstrate one approach to achieve the result desired by you. Give it a try and let us know if you have further questions.

Greetings,
Pavel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Jeff Tang
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Jeff Tang
Top achievements
Rank 1
Pavel
Telerik team
Share this question
or