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

Inserting an item Client-Side using insertItem()

3 Answers 144 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 2
Chris asked on 19 Mar 2009, 05:43 PM
Hello;

I'm trying to add a new row to a Radgrid client-side using insertItem() and then update all inserted items in a single batch.

I've got several questions:

1)  What's the correct way to use the client-side API call insertItem() ?
2)  Can insert operations be batched like edit operations?

Thanks...

3 Answers, 1 is accepted

Sort by
0
Accepted
Yavor
Telerik team
answered on 24 Mar 2009, 07:54 AM
Hi Chris,

The following client side method demonstrates one possible option to insert a new row. While a batch insert is not available, you can either call this function repeatedly, or from the code-behind server side handler, add more than one item to the database directly.
I hope this information helps.

All the best,
Yavor
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Phil Hadley
Top achievements
Rank 1
answered on 27 Oct 2011, 08:18 PM
I'm needing this information requested by the original post.  Unfortunately, this answer (a link pointing to the documentation) doesn't seem to answer the original question.  Can anyone elaborate a bit more?
0
Iana Tsolova
Telerik team
answered on 01 Nov 2011, 01:21 PM
Hi Phil,

Find the correct link below:
http://www.telerik.com/help/aspnet-ajax/grid-gridtableview-insertitem.html

All the best,
Iana Tsolova
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
Tags
Grid
Asked by
Chris
Top achievements
Rank 2
Answers by
Yavor
Telerik team
Phil Hadley
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or