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

RadGrid and performance - intended usage?

2 Answers 106 Views
Grid
This is a migrated thread and some comments may be shown as answers.
improwise
Top achievements
Rank 1
Iron
Iron
improwise asked on 29 Jul 2010, 01:32 AM
I just sent this to the support department at Telerik before realizing that it would perhaps be more appropriate to post it here instead. Please forgive the fact that the text is phrased in a way that it was only ment to be read by Telerik personel.

I've been reading about about especially the RadGrid (I am a customer of yours) and have notices you mentioning the awesome performance of the RadGrid which is great. Now I am thinking, how should I as a developer make use of this in the best way, ie, how is it intended to be used. This is of course a question with many answers, but as far as I can see it, the whole idea, unless you have absurd amount of data, or maybe handle very large "blobs", must be that instead of writing stored procedures etc. that does the searching/filtering for you, you should load all the data into the RadGrid, and then let it do it's magic. What I mean is this, if you do a lot of filtering etc. before the data reach the RadGrid, much of the whole advantage with the great performance would be lost, wouldn’t it?

What I am thinking is kind of like this, making stored procedures (or similar) that takes a lot of parameters and does filtering/searching for you isn’t really that difficult, but it takes a lot of time to do, and then you have to make search forms for all these in your web pages on top of that. It would be much quicker if I could just say "Hey, the RadGrid says that it has great performance, and it also offers great filtering capabilities, let's use that instead and save a lot of time!". Is this the intended usage you had in mind when putting in a lot of effort in optimizing the RadGrid performance? Do you have some recommendations, best practices or similar on how to use it, when not to use it etc? Have you done any benchmarking or similar that I as a web developer can use when my DBA comes knocking on the door screaming about that I load all the data from the database?

I hope you understand my questions here, and I know there isn’t an exact answer to this, and that isn’t really what I am looking for, but rather more guidelines on how to use this in a good way!

2 Answers, 1 is accepted

Sort by
0
improwise
Top achievements
Rank 1
Iron
Iron
answered on 30 Jul 2010, 11:08 AM
Anyone? At least you guys from Telerik must have an opinion about this? The main reason we are pushing for this is that it is an important design decision in the new web application we are currently building...
0
Pavlina
Telerik team
answered on 03 Aug 2010, 11:24 AM
Hello Patrik,

In case you display very large amount of records in the control, you may consider using custom paging or taking advantage of the LINQ queries support of RadGrid (under .NET 3.5) to speed up the performance as much as possible. This should reduce the loading time of the control to a great extent.

Other useful tips about how to optimize the overall performance of RadGrid for ASP.NET AJAX you can find in these online resources:
http://www.telerik.com/help/aspnet-ajax/gridoverview.html (Chapter "Performance tips and tricks")
http://www.telerik.com/products/aspnet-ajax/resources/top-performance.aspx
http://www.telerik.com/support/aspnet-ajax/grid.aspx (section "Performance")

I hope this helps.

Regards,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
improwise
Top achievements
Rank 1
Iron
Iron
Answers by
improwise
Top achievements
Rank 1
Iron
Iron
Pavlina
Telerik team
Share this question
or