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

[Solved] InPlace Insert Row with Client-Side Binding

3 Answers 199 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 05 Feb 2009, 07:29 PM
When I am in server side datasource binding, I can initiate an inplace editing row by firing an "InitInsert" command. However, when I am in client-side binding, there is no way to bring up such editing row without the RadGrid posting back to the server code and re-rendering. 

Even getting the editing row with the server re-rendering, clicking the "Insert" linkbutton doesn't seem to post back the newly inserted data in the OnInsertCommand. 

I found the example with Form editing using another grid from the Demo. However, it is not quite what I am looking for. 

The reason I want to use Client-Side binding is because of its response performance. I hope someone has the similar issue can shed some lights here. 

Thanks. 

3 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 09 Feb 2009, 04:08 PM
Hi Steven,

Currently RadGrid does not support data editing with internal auto-generated edit/insert form when using client-side binding. A possible solution for your case would be to use an external edit/insert form and populate it on the client as shown in this demo of the product.

Kind regards,
Sebastian
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Fraser
Top achievements
Rank 1
answered on 27 Apr 2009, 05:59 PM
Hi Sebastian

Does RadGrid support data editing with inline edit/insert form under these conditions?  Additionally does RadGrid support the EditItemTemplate of the GridTemplateColumn if the grid was bound client side initially in the non-edit (ItemTemplate) view?

I have spent the last three days researching some kind of example of this type and I have turned up nothing. 

Thanks!
james maynard
James.Maynard (AT) T4G.com



0
Fraser
Top achievements
Rank 1
answered on 27 Apr 2009, 06:02 PM
Looks like I wrote this too soon - I came across this forum post right afterwards:  http://www.telerik.com/community/forums/aspnet-ajax/grid/grid-client-side-inline-edit.aspx

My questions were fully answered in that post.  Thanks and sorry.

James
Tags
Grid
Asked by
Steven
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Fraser
Top achievements
Rank 1
Share this question
or