This question is locked. New answers and comments are not allowed.
We're using the GridView / RadGridView extensively in our project. Above some of these grids we would like to place HyperlinkButtons
to be able to 'Add/Modify/Remove' items (via a domaindatasource) and be able to 'Save/Cancel' them when editting - or when adding a new item.
When we perform CancelEdit(); on an item that is being modified, it works without problems. The row changes get canceled, and editting mode is exitted.
But when we perform the CancelEdit() while a new row is being added, the validation error is shown.. and the grid stays in editting mode
How do we cancel an insert, using a hyperlinkbutton?
to be able to 'Add/Modify/Remove' items (via a domaindatasource) and be able to 'Save/Cancel' them when editting - or when adding a new item.
When we perform CancelEdit(); on an item that is being modified, it works without problems. The row changes get canceled, and editting mode is exitted.
But when we perform the CancelEdit() while a new row is being added, the validation error is shown.. and the grid stays in editting mode
How do we cancel an insert, using a hyperlinkbutton?