DefereRefresh

2 posts, 0 answers
  1. Benjamin
    Benjamin avatar
    24 posts
    Member since:
    Dec 2012

    Posted 28 Mar 2013 Link to this post

    Hello,

     

    I have a View whith a GridView bound to RadDataFilter bound to an QueryableEntityCollectionView<T> exposed in a View-Model.

    I have few questions :

    Does when the user add filter to the RadDataFilter the data is filtered directly in SQL ?
    How to implement assync data loading ? I have the folowing exception when using the DeferRefresh method :

    Cannot change or check the contents or Current position of the QueryableCollectionView whileRefresh is being deferred.

    Thank you,

    Benjamin

  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 28 Mar 2013 Link to this post

    Hi,

    When the user filters the data is filtered directly in SQL Server. This is because we use LINQ for filtering and Entity Framework is based on LINQ.

    I am afraid that there is no way to force an async data loading with the QECV. When its Filter-, Sort- or GroupDescriptors change in some way, it will automatically go to the server to fetch the new data synchronously. 

    All the best,
    Rossen Hristov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top