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

Filter menu

7 Answers 136 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Iosu Buenetxea
Top achievements
Rank 1
Iosu Buenetxea asked on 10 Sep 2008, 05:09 PM
Hello !!!

How can I modify the filter menu from my RadGrid?

I want to remove all items from my filter menu and only have an item that means something like "like" in sql, I would like to leave write wildcards in the textbox and not have so many items.

Best regards.

7 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 11 Sep 2008, 06:57 AM
Hi Juan,

Go through the following help articles and see if it helps.

Reducing the filter menu options
Localizing filtering menu options

Thanks
Shinu
0
Iosu Buenetxea
Top achievements
Rank 1
answered on 11 Sep 2008, 07:41 AM
Hello Shinu,

I don't want to remove the filter menu options in execution, I would like to remove all my filter options in design, and when I do click in the filter icon, the RadGrid filter with the text that I have wrote
0
Sebastian
Telerik team
answered on 11 Sep 2008, 08:50 AM
Hi Juan,

The behavior you are searching for can be attained by setting the AutoPostBackonFilter property of the corresponding column to true and choosing CurrentFilterFunction of your choice. Review the information from the description section of this online demo for more details.

Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Iosu Buenetxea
Top achievements
Rank 1
answered on 12 Sep 2008, 10:28 AM
Hi Stephen,

I have did you solution and I have seen that whit this I got a filtering by column, but this not is that I want.

My purpose is to achieve a filtering for rows. There are the steps to do that I want:
    -I have a button that active the search.
    -When I click this button, I'm goint to show the filtering row from the RadGrid, but I don't want to show the filter Icons that appears in the filtering row, I want to show only a unique image in final of the row.
    -I have to introduce the value that I'm going to search.
    -Later, I have to click the filter icon and filter all the columns for the row.

When I have finished searching I'm going to desactive the search.

In short, I want to filter all columns for the row with one click.

Best regards.
0
Veli
Telerik team
answered on 17 Sep 2008, 11:16 AM
Hi JUAN,

Please find attached a sample page created for your convenience. It demonstrates how regular filter images can be hidden and all filters can be applied at one button click only.

Please see how this sample relates to your problem.

Greetings,
Veli
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Iosu Buenetxea
Top achievements
Rank 1
answered on 17 Sep 2008, 01:22 PM
Thanks for the response, but you example fails in this line.

RadGrid1.MasterTableView.FilterExpression = expression;
RadGrid1.Rebind();


When the radGrid1 has rebinded the application throw an error that says. Expression expected, but don't worry, I catch the idea and I achieve to filtering the row.

Thanks

0
Veli
Telerik team
answered on 17 Sep 2008, 08:16 PM
Hi JUAN CRESPO,

The same sample page is running as expected on my site. If you can elaborate a bit more on the error you are getting, we might be able to help you identify the cause. Have you modified anything in the sample page, or you are getting the error without having changed anything?

Greetings,
Veli
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Iosu Buenetxea
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Iosu Buenetxea
Top achievements
Rank 1
Sebastian
Telerik team
Veli
Telerik team
Share this question
or