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

[Solved] Filter on Enter Key

1 Answer 239 Views
Grid
This is a migrated thread and some comments may be shown as answers.
rdochert
Top achievements
Rank 1
rdochert asked on 23 Mar 2008, 08:51 PM
this topic has been kicked around the asp.net forum for some time in various different guises. now that i am moving all of my grid's to prometheus - mostly with ajax - i find that adding text to a filter box and pressing the enter key no longer works. i found a how to in the help file but it only referred to adding a custom filter button to the grid. i want to so what, it seems to me, is the most basic and intuitive approach to filtering that any user would expect - type in some text and hit enter.

hope you can help.
rob

1 Answer, 1 is accepted

Sort by
0
rdochert
Top achievements
Rank 1
answered on 23 Mar 2008, 09:00 PM
ok - i found that by removing 

AutoPostBackOnFilter="True"

i had stopped the filter on enter key from working. i wanted to remove that as i did not want the filter to be applied if the user tabbed or clicked outside the filter box. i think filter on enter press is a little more fundamental than it is given credit for. having to set up this option on every column seems like a poor implementation of this behaviour.

rob
Tags
Grid
Asked by
rdochert
Top achievements
Rank 1
Answers by
rdochert
Top achievements
Rank 1
Share this question
or