Posted 06 Feb 2013
Link to this post
When I have filtering condition leaving just one record in the grid, and the remaining record is changed from outside the grid, so that no records are remaining in the GridView, the grid becomes frozen. In code I am loading and refreshing the data source but it doesn't help:
When I set a breakpoint on the line of code above, it says HasChanges == false. Also, the count on RecordsDataView.count = 1 and RecordsDataView.CurrentPosition = 0. If I clear FilterDescripters, the GridView is no longer frozen. However, I would like the grid to remain empty but give the user the ability to reset the filter by clicking on the filter icon in the header. Currently it is frozen, so the user cannot do anything. How can I fix this situation?