Load Data during scroll

3 posts, 0 answers
  1. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 03 Jul 2009 Link to this post

    Hi

    I'm currently having troubles with the RadGridView performances. I tried almost everything I could think of.

    What I'm trying to do is load variable amount of data (from 5 rows to several thousands depending on my request) onto a RadGridView.
    The structure of the loaded data is also completely different each time (different number of columns or type of data)

    I'm loading my data from a PostgreSQL database using WCF service, but the grid takes between 2 and 6 seconds to display the data, which isn't acceptable for my purpose.

    So I had an idea on how I could fix my problem.

    I thought that I could try to load only the first 20 or 30 rows at a time, and when I scroll down (I'm on deferred mode), I would call my webservice to load the data corresponding to my scrollbar position.

    But unfortunatly, after several attermpts, I couldn't find a way to achieve this.
    So I'm asking if you'd have any way to perform such coding. (btw, since everything in my application is dynamic, every treatments are code-behind based.

    Regards
    Ludovic
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 06 Jul 2009 Link to this post

    Hi Ludovic,

    You can find such demo here:
    http://demos.telerik.com/silverlight/#GridView/Performance/ServerSide

    Regards,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
  4. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 06 Jul 2009 Link to this post

    Hi

    This isn't exactly what I need, but I might be able to use it as a start point.

    Thanks for that.

    If anyone passing by has any idea, I'd be thankful for sharing it.

    Regards
    Ludovic
Back to Top