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

RadGrid Client-side Binding

1 Answer 102 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nicolaas
Top achievements
Rank 1
Nicolaas asked on 14 Jul 2011, 05:06 PM
So I am using RadGrid and Client-side binding. And i am really surprise how badly it sucks. First of you you need to hack almost each column type to "GridTemplateColumn" to create Hyperlinks Columns and format data. But then you can't do the hack to export (Call the server and bind it at serverside... so stupid) it because you cant use "GridTemplateColumn" in exporting. So you are stuck with the raw data when you want to export. HOW USELESS.

Then I try to SaveSettings on the grid. AND GUEST WHAT. doenst work client side. It needs a post back and then it break the client side binding.

I almost were a Telerik "profit" but with the last week experience I feel telerik is the fast server side solution and NOT client side. Waist of time if you want to do client side.

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 20 Jul 2011, 09:41 AM
Hello Nicolaas,

I understand the current situation you are in, and am really sorry to hear that you are having difficulties implementing the desired functionality. Basically, a grid bound using client side data-binding improves the performance of RadGrid. However, there are certain limitations, due to this client side model and for your case I suggest you to use RadGrid bound on server side. If you worry about the performance I can assure you that server side data bound RadGrid has a great performance too. Also we have many optimization techniques for such a scenarios and I am sure some of them will be of great help for your project . The info below summarize the most important performance info we already have in our documentation resources:

Optimization Tips series in the blogs:
Optimization Tips:The Rad Managers for ASP.NET AJAX
Optimization Tips: Testing Page Performance
Optimization Tips: Using RadAjaxManagerProxy Controls
Optimization Tips: Using HTTP Compression
Optimization Tips: Optimizing Custom Skins
Optimizing the RadGrid performance.
Please review the following links on how to optimize the performance of RadGrid:
http://www.telerik.com/products/aspnet-ajax/resources/top-performance.aspx
http://www.telerik.com/help/aspnet-ajax/grdviewstatereductiontechniques.html
http://www.telerik.com/help/aspnet-ajax/grdsavinggridviewstateinsession.html
http://www.telerik.com/help/aspnet-ajax/radinputmanager_performance.html
The  .NET 3.5 version of the RadGrid can handle millions of records and will apply paging, sorting and filtering directly on the data-base server (LinqDataSource) codeless:
    http://blogs.telerik.com/vladimirenchev/Posts/08-03-10/How_fast_is_your_ASP_NET_DataGrid.aspx?ReturnURL=%2fvladimirenchev%2fposts.aspx%3fYear%3d2008%26Month%3d3
ViewState size:  Some of the grid operations can work with completely turned off ViewState.
    Example: http://demos.telerik.com/aspnet-ajax/grid/examples/programming/viewstate/defaultcs.aspx
JavaScript $create clause size: Depends on selected features. Can be turned off along with all other resources:
    Example: http://blogs.telerik.com/VladimirEnchev/Posts/08-07-15/Telerik_RadGrid_Section_508_Compliance.aspx?ReturnURL=%2fBlogs.aspx
 Number of requests: Most of the grid images come from the grid CSS sprite which minimizes number of requests to the server for resources. Can be minimized with RadScriptManager and RadStyleSheetManager.
Other: http://www.telerik.com/help/aspnet-ajax/grdviewstatereductiontechniques.html

Best wishes,
Radoslav
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Grid
Asked by
Nicolaas
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or