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

Filter scenario

2 Answers 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
arnaud
Top achievements
Rank 1
arnaud asked on 30 Aug 2010, 11:26 AM
Hi,

Is it possible to have the following scenario on radgrid filters :

- AutoPostBackOnFilter="true" whith default action is 'equal to'

and

- ShowFilterIcon="true"

My users would like to be able to perform a postback most of the time by pressing the 'Enter' key (not having to select the 'equal to option' from the filter list). But sometimes, they would like to be able to chose another action whith the filter list.

When I add both AutoPostBackOnFilter="true" and ShowFilterIcon="true", the postback occurs when the user clik on the filter icon (before he can chose something inside the menu).

Thank You
Arnaud

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 30 Aug 2010, 12:01 PM
Hello Arnaud,


One suggestion is filtering the grid explicitly when pressing the Enter key instead of setting the AutoPostBackOnFilter property. The documentation will help you to get started.
Search on key press/button click


-Shinu.
0
arnaud
Top achievements
Rank 1
answered on 30 Aug 2010, 02:37 PM
Thanks shinu for the answer.

I actually found the solution here : http://www.telerik.com/community/forums/aspnet-ajax/grid/filter-grid-on-keypress.aspx
Tags
Grid
Asked by
arnaud
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
arnaud
Top achievements
Rank 1
Share this question
or