Data Virtualization on grid with WCF Service

2 posts, 0 answers
  1. Sundeep Kumar
    Sundeep Kumar avatar
    3 posts
    Member since:
    Jan 2016

    Posted 25 Apr 2016 Link to this post


    I have a wcf service which return me list of items.

    I wanted to use this service as Data Virtualization in wpf example.

    For ex

    I wanted to show 50 customers in the grid and when user scolls down to grid end, grid should be populated with next 50 customers.

    I don't want to use WCF RIA/Data services, I have already existing wcf service which gives me list.


    Please help me to achieve this.

  2. Maya
    Maya avatar
    4062 posts

    Posted 28 Apr 2016 Link to this post

    Hi Sundeep,

    Generally, you can try working with the VirtualQueryableCollectionView directly as a source for the grid. More information can be found in the Using Data Virtualization article as well as its corresponding demo.
    In case you want to implement the same functionality on your own, you would have to listen for the changes on scrolling (handle ScrollChanged event for example) and request the next portion of items based on the vertical scroll offset. 

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top