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

[Solved] rad grid filtering is not working on tab key press first time

1 Answer 200 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Gagan Garg
Top achievements
Rank 1
Gagan Garg asked on 24 Apr 2013, 01:02 PM
I have a radgrid and have enabled filtering. I have restricted the filtering to "startswith" only. The problem is that when I enter in some filter text it fires the ItemCommand event which is fine but, it does not filter the grid. If I re-type the filter string again it fires the ItemCommand event again and the second time and any more subsequent attempts work as expected resulting in the grid being filtered. This is so wierd and I have no idea whi I have to type in a filter string twice to get it to work.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 25 Apr 2013, 06:41 AM
Hi,

Try setting AutoPostBackOnFilter as true for the column.
aspx:
<telerik:GridBoundColumn HeaderText="OrderID" AutoPostBackOnFilter="true" DataField="OrderID" UniqueName="OrderID"></telerik:GridBoundColumn>

Thanks,
Shinu
Tags
Grid
Asked by
Gagan Garg
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or