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

Hypothetical question: Grid performance under two different scenarios

2 Answers 39 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 05 Nov 2012, 03:49 PM
I'm looking at the following demos.

http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/declarativerelations/defaultcs.aspx

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectedvalue/defaultcs.aspx

I have the usual header-detail relationship in a pair of tables.

I was just wondering if there are any performance issues I should be aware of when chosing one method over another? 

(It's quite likely that most of the headers may have only a few details.  It is also possible a few could have dozens.)

2 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 08 Nov 2012, 08:58 AM
Hi Boris,

You should be aware that with the default paging in this demo all records are retrieved from the database. Then the grid pages them and shows only the current page.

If you have lots of records there will be a performance penalty. You have either use LinqDataSource, or implement custom paging.

All the best,
Vasil
the Telerik team
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 their blog feed now.
0
Boris
Top achievements
Rank 1
answered on 08 Nov 2012, 01:32 PM
I went with the first type and LinqToSQL.  Seemed simpler.
Tags
Grid
Asked by
Boris
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Boris
Top achievements
Rank 1
Share this question
or