This is my problem.
I have this RadGrid with an EditFormTemplate (UserControl). With a button called "AddNew" we create a new row in the grid.
On the EditFormTemplate we want to have 3 buttons:
- Update
- Cancel
- Update and Insert New
The first two buttons was easy. Button with CommandName="Update" and CommandName="Cancel". These events are bubbled to the RadGrid and handled. The last button i'm lost on how this must be accumplished.
I've created a normal button and in the eventhandler i wrote:
this.RaiseBubbleEvent(sender, new CommandEventArgs("Update", null));
this.RaiseBubbleEvent(sender, new CommandEventArgs("InitInsert", null));
This first event is handled by the RadGrid, but the second one isn't.
How can i create a button the updates the current edited row, and inserts a new one...?