RadGridView - Loading a large data set returns CommunicationException

2 posts, 0 answers
  1. Frustrated Dev
    Frustrated Dev avatar
    35 posts
    Member since:
    Oct 2006

    Posted 10 Feb 2010 Link to this post

    Hello,

    I am using the RadGridView in an effort to load 100,000 records of information. To make the application run smoothly, like the demo that shows 1 million records, I have set the DataLoadMode property of the RadGridView control to "Asynchronous". The information that I want to load into the RadGridView is stored in my database. To access this data, I am using a Silverlight-enabled WCF service. When I attempt to retrieve all of the records I receive an error that says:

    "CommunicationException
    The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown, or an internal server error"

    I have no idea what the problem could be. I limited my data set to 3,000 records and it works fine. It almost seems like I am trying to load too much data. Is there a way to load 100,000 records of information from a database into a RadGridView control?

    Thank you

     
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 11 Feb 2010 Link to this post

    Hi Frustrated Dev,

    Sending such huge collection over the wire will definitely cause such problems. You need to use paging:
    http://demos.telerik.com/silverlight/#GridView/DomainDataSource

    You can check also this blog post if you cannot use RIA services in your case:
    http://blogs.telerik.com/vladimirenchev/posts/10-01-14/how_to_server_sorting_filtering_grouping_and_paging_with_radgridview_for_silverlight_without_wcf_ria_services.aspx

    Kind regards,
    Vlad
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  3. DevCraft banner
Back to Top