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

5 Million Records

1 Answer 69 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Lester asked on 06 Oct 2013, 12:14 AM
I have a table with 5,355,113 records. I want to display them in a grid. I have a test application similar
to this: Link

The description of the example says: "allows you to handle millions of records within a few milliseconds",
but I'm getting the error displayed in the attached image.

What am I doing wrong?. The example linked before should be able to handle 5 million records? or, should
I handle the paging in code behind?

This is my ASPX code (No code behind):

telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
<telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1" />
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AutoGenerateColumns="False" PageSize="1"
    <PagerStyle Mode="NextPrevAndNumeric" />
     <MasterTableView TableLayout="Fixed">
            <telerik:GridBoundColumn DataField="ID" HeaderText="ID" UniqueName="ID">
<asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="WebApplication1.DAL.DataClassesDataContext" TableName="Cards" OrderBy="ID">

Any help would be appreciated. Thanks

1 Answer, 1 is accepted

Sort by
Angel Petrov
Telerik team
answered on 10 Oct 2013, 06:28 AM
Hello Lester,

After researching the matter it seems that the problem is more related to the extraction of the data than the use of RadGrid(please examine this link). In order to verify this I would like to ask you to try and bind another control to the LinqDataSource and test whether the same problem occurs. If it does not please send us a runnable sample which replicates the issue so we could inspect it locally.

Angel Petrov
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Asked by
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question