Hi,
I need to be able to add several rows to a RadGrid when I click on the Add button I have defined in the CommandItemTemplate.
The radgrid is using InPlace editing. The template has an "Add" button and a textbox next to it that specifies the number of rows to add.
So let's say I specified 5 in the textbox, I clicked on the Add button, and the ItemCommand or ButtonClick events are fired. How can I add 5 rows to the grid in my code-behind?
I tried to catch the Command in the ItemCommand event and then calling MyGrid.MasterTableView.InserItem() inside a for loop, but it doesn't work.
Thank you.
I need to be able to add several rows to a RadGrid when I click on the Add button I have defined in the CommandItemTemplate.
The radgrid is using InPlace editing. The template has an "Add" button and a textbox next to it that specifies the number of rows to add.
So let's say I specified 5 in the textbox, I clicked on the Add button, and the ItemCommand or ButtonClick events are fired. How can I add 5 rows to the grid in my code-behind?
I tried to catch the Command in the ItemCommand event and then calling MyGrid.MasterTableView.InserItem() inside a for loop, but it doesn't work.
Thank you.