GridView freezes when filtering QueryableDomainServiceCollectionView

1 posts, 0 answers
  1. Ned
    Ned avatar
    1 posts
    Member since:
    Jul 2008

    Posted 06 Feb 2013 Link to this post

    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.
Back to Top