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

GridView freezes when filtering QueryableDomainServiceCollectionView

0 Answers 62 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ned
Top achievements
Rank 1
Ned asked on 06 Feb 2013, 10:35 PM
Hello, 

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:  

RecordsDataView.Load(true);
RecordsDataView.Refresh();

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?  

thanks.

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Ned
Top achievements
Rank 1
Share this question
or