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

[Solved] Create RadGrid Client Side

4 Answers 204 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Officialboss
Top achievements
Rank 1
Officialboss asked on 30 Jun 2008, 08:12 PM
Hello,

I was wondering if someone could direct me to sample code on creating a Radgrid through JavaScript on the client.

I am creating a Multipage view on the client and I want to add a RadGrid in the PageView.

My javascript for the page view is:
var pageView = new Telerik.Web.UI.RadPageView();
 mymultiPage.get_pageViews().add(pageView);
pageView.get_element().
innerHTML = function to create RadGrid(); 

I would be trying to fire the RenderControl method of the RadGrid to get the Html which will go into the innerHTML of the page view.

Thanks

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 01 Jul 2008, 12:50 PM
0
Dan Cao
Top achievements
Rank 1
answered on 23 Apr 2013, 12:38 PM
Dear Vlad,

Can you confirm that we still can not resolve that question with the version "Version=2011.1.614.35" of Telerik ASP.NET AJAX controls? Thanks

Dan
0
Radoslav
Telerik team
answered on 26 Apr 2013, 06:33 AM
Hi Dan,

Unfortunately the RadGrid does not support desired functionality concerning creating it entirely on the client. However you can try using the client side data binding, which gives you great performance, because the RadGrid is created on the server but the data is resolved and populated on the client. On the following links you can find additional information:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/declarativedatabinding/defaultcs.aspx
http://demos.telerik.com/aspnet-ajax/grid/examples/client/databinding/defaultcs.aspx
http://www.telerik.com/help/aspnet-ajax/grid-client-side-binding.html

The other option here is to use the Kendo grid which is entirely client side:
http://demos.kendoui.com/web/grid/index.html

I hope this helps.

All the best,
Radoslav
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
Dan Cao
Top achievements
Rank 1
answered on 26 Apr 2013, 01:33 PM
I appreciated your help, thanks
Tags
Grid
Asked by
Officialboss
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Dan Cao
Top achievements
Rank 1
Radoslav
Telerik team
Share this question
or