Filter menu

8 posts, 0 answers
  1. Iosu Buenetxea
    Iosu Buenetxea avatar
    91 posts
    Member since:
    Jan 2008

    Posted 10 Sep 2008 Link to this post

    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.

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 11 Sep 2008 Link to this post

    Hi Juan,

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

    Reducing the filter menu options
    Localizing filtering menu options

    Thanks
    Shinu
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Iosu Buenetxea
    Iosu Buenetxea avatar
    91 posts
    Member since:
    Jan 2008

    Posted 11 Sep 2008 Link to this post

    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
  5. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 11 Sep 2008 Link to this post

    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.
  6. Iosu Buenetxea
    Iosu Buenetxea avatar
    91 posts
    Member since:
    Jan 2008

    Posted 12 Sep 2008 Link to this post

    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.
  7. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 17 Sep 2008 Link to this post

    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.
  8. Iosu Buenetxea
    Iosu Buenetxea avatar
    91 posts
    Member since:
    Jan 2008

    Posted 17 Sep 2008 Link to this post

    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

  9. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 17 Sep 2008 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017