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

[Solved] Can't insert second record

3 Answers 88 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 24 Mar 2009, 03:55 AM

I set up a RedGrid to update existing and insert new records.  I can insert the first new record but if I try to insert the second I don't even get to the form template.  It just hangs on the 'Loading' image.  The same thing happens if I edit a record and then try to insert a record.  However I can edit one record after another without any issues.  Any idea what I might be doing wrong? 

 

Thanks

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 24 Mar 2009, 11:01 AM
Hi Matt,

I guess you are having trouble with Multiple edit/insert in RadGrid. Here is an online demo which implements Multiple insert with RadGrid.
Insert with Tooltip
Here is another help article which explains how to perform batch update.
Performing batch updates

Thanks
Shinu
0
Matt
Top achievements
Rank 1
answered on 24 Mar 2009, 11:32 AM
Thanks.  I'll take a look at these when I get to work and see if I can find something I'm missing. 

However, I am not doing batch updates.  I am just trying to add one record at a time.  Click 'Add Project', enter data and add a record, then click 'Add Project' again and enter more data, etc.
0
Matt
Top achievements
Rank 1
answered on 27 Apr 2009, 01:55 PM
There were a couple of labels above the grid that showed the returned success/error message from insert.  Apparently this was causing the problem.  Once I removed these the problem went away. 
Tags
Grid
Asked by
Matt
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Matt
Top achievements
Rank 1
Share this question
or