Chris Messineo
Top achievements
Rank 1
Chris Messineo
asked on 03 Oct 2008, 02:43 PM
Hi, I'm trying to reduce the initial load of my Hierarchical grid. Right now it is about 180kb, I thought if I could create the nested grid on the client when it is needed the initial page load would be small.
I'm using this approach
http://blogs.telerik.com/vladimirenchev/Posts/08-09-09/How_To_Telerik_RadGrid_Master_Detail_client-side_data-binding_using_LINQ_to_SQL_and_WebService.aspx?ReturnURL=%2fvladimirenchev%2fPosts.aspx
Basically I'm using two web services on the client to load my master grid and the nested grid.
Thanks
Chris
I'm using this approach
http://blogs.telerik.com/vladimirenchev/Posts/08-09-09/How_To_Telerik_RadGrid_Master_Detail_client-side_data-binding_using_LINQ_to_SQL_and_WebService.aspx?ReturnURL=%2fvladimirenchev%2fPosts.aspx
Basically I'm using two web services on the client to load my master grid and the nested grid.
Thanks
Chris
6 Answers, 1 is accepted
0
Accepted
Hello Chris,
I have prepared for you small example to illustrate you how to optimize this scenario - you can find the project attached.
Let me know how it goes.
Greetings,
Nikolay
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
I have prepared for you small example to illustrate you how to optimize this scenario - you can find the project attached.
Let me know how it goes.
Greetings,
Nikolay
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Chris Messineo
Top achievements
Rank 1
answered on 13 Oct 2008, 06:56 PM
Nikolay, thanks for the sample code. That reduced my initial page load by 120kb
0
Brian
Top achievements
Rank 1
answered on 14 Dec 2009, 07:39 PM
hey Vlaidmir,
great post -- I've modified it for my purpose and all is good -- now I'd like to extend it (4 level hierarchy) and I'm hoping you (or someone) can give me a bit of help re: why 2 .js script files are required. I'm new to .js and although I can see that the app does need them both, I'm curious as to why and also if i'm going to require more as I extend my hierarchy
thanks in advance
b stensrud
0
Hello Brian,
Generally RadGrid does not support hierarchy out-of-box with client-side binding.
Provided solution to this thread as sample application and blog post demonstrates how you can attain such functionality. You can extend it in order to achieve your requirements.
Best wishes,
Nikolay
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Generally RadGrid does not support hierarchy out-of-box with client-side binding.
Provided solution to this thread as sample application and blog post demonstrates how you can attain such functionality. You can extend it in order to achieve your requirements.
Best wishes,
Nikolay
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Aaron Whittaker
Top achievements
Rank 1
answered on 03 Jul 2013, 06:58 PM
DO you have a this functionality with latest version of telerik controls i.e. nested grid through client code and expand at all levels and CRUD operation at each hierarchial level (all client side)?
0
Hello Aaron,
I am afraid that RadGrid does not support any kind of hierarchy by using client-side data-binding.
RadGrid transfer only JSON from client-server(Service/PageMethod)-client to populate RadGrid.
The only possible approach is to use server binding with client load mode as shown below:
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/hierarchyloadmodeclient/defaultcs.aspx
Regards,
Maria Ilieva
Telerik
I am afraid that RadGrid does not support any kind of hierarchy by using client-side data-binding.
RadGrid transfer only JSON from client-server(Service/PageMethod)-client to populate RadGrid.
The only possible approach is to use server binding with client load mode as shown below:
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/hierarchyloadmodeclient/defaultcs.aspx
Regards,
Maria Ilieva
Telerik
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.