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

[Solved] GRID WITH MULTIPLE INSERTS

1 Answer 260 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Robert Jakech
Top achievements
Rank 1
Robert Jakech asked on 01 Mar 2010, 03:33 PM
I want to insert multiple rows into a database when i click a button.

I want to load my Radgrid with atleast 6 empty rows from which i can enter records and then save all (or entered records) to the database
I also want to clear the fields in the radgrid and then enter fresh records.

Can someone please help.

thanks.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 02 Mar 2010, 05:48 AM
Hi Robert Jakech,

As far as I know RadGrid does not support multiple insert forms visible simultaneously. The following forum link describes about this.
Insert in MultiRowEdit and InPlace

One suggestion to achieve multiple insert is by using an external form with multiple fields for insert. Thus when pressing a button from that external form you can extract the values from the input fields, insert the new records in the grid source and rebind the control to reflect the changes.

You can go through the following online demo which demonstrates how to insert several new records in the grid with a single button click using a ToolTip. This might helpful for you.
Multiple Insert in RadGrid using ToolTip

-Shinu.
Tags
Grid
Asked by
Robert Jakech
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or