This is a migrated thread and some comments may be shown as answers.

RadGridView - Loading a large data set returns CommunicationException

1 Answer 160 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Frustrated Dev
Top achievements
Rank 1
Frustrated Dev asked on 10 Feb 2010, 11:46 PM
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

 

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 11 Feb 2010, 06:50 AM
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.
Tags
GridView
Asked by
Frustrated Dev
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or