Hi all,
I have designed a page to edit rows, and I have successfuly edit rows (one by one and multiple edit rows), and I have designed another form to insert records but I found that it able to add 1 record on click "add new record" link, are there anyway to add multiple records in grid in clientside and save all in only 1 click?
If there an example please send me link.
Regards
Ahmed
I have designed a page to edit rows, and I have successfuly edit rows (one by one and multiple edit rows), and I have designed another form to insert records but I found that it able to add 1 record on click "add new record" link, are there anyway to add multiple records in grid in clientside and save all in only 1 click?
If there an example please send me link.
Regards
Ahmed
6 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 22 Dec 2008, 01:09 PM
Hi Raul,
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. You can modify the logic according to your requirement.
Multiple Insert in RadGrid using ToolTip
Also, you can replace the ToolTip with a Window. For information on how to use a window for the same you can also refer to this link.
Thanks
Princy.
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. You can modify the logic according to your requirement.
Multiple Insert in RadGrid using ToolTip
Also, you can replace the ToolTip with a Window. For information on how to use a window for the same you can also refer to this link.
Thanks
Princy.
0
Raul
Top achievements
Rank 1
answered on 22 Dec 2008, 03:38 PM
Hi all ,
Are there any other method to insert multi rows in 1 click instead of tooltip example?
as this may be not acceptable function in my case.
Regards
Are there any other method to insert multi rows in 1 click instead of tooltip example?
as this may be not acceptable function in my case.
Regards
0
Raul
Top achievements
Rank 1
answered on 23 Dec 2008, 10:51 AM
Hi all,
Any ideas to insert multi rows in radgrid in 1 click??
I want to know if this possibility exists or not to find others solutions.
Regards
Any ideas to insert multi rows in radgrid in 1 click??
I want to know if this possibility exists or not to find others solutions.
Regards
0
Hi Raul,
As an alternative you may consider 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.
Kind regards,
Sebastian
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
As an alternative you may consider 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.
Kind regards,
Sebastian
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
John Giblin
Top achievements
Rank 1
answered on 03 Dec 2009, 03:17 PM
that sounds like a good solution. But I would like to have the add new form open when the user goes to the page. How would i do that. thanks.
0
Hi John,
To switch the grid directly in insert mode on initial page load, set the IsItemInserted property of its MasterTableView to true inside its PreRender handler and invoke the Rebind() method of the grid explicitly.
Best regards,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
To switch the grid directly in insert mode on initial page load, set the IsItemInserted property of its MasterTableView to true inside its PreRender handler and invoke the Rebind() method of the grid explicitly.
Best regards,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.