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

Insert cancel problem

1 Answer 85 Views
GridView
This is a migrated thread and some comments may be shown as answers.
ClausDC
Top achievements
Rank 1
Iron
Iron
ClausDC asked on 05 Aug 2011, 02:57 PM
When the user adds a new row to the GridView and then cancels the inserting process the event 'RowEditEnded' is called with "e.EditOperationType == Insert" and  "e.EditAction == Cancel".

Is there some way to get the BusinessObject behind the inserted row that was canceled?

e.EditedItem, e.NewData are both null.

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 08 Aug 2011, 02:44 PM
Hi Clausdc,

The canceled item is stored in e.Row.Item.

Regards,
Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
Tags
GridView
Asked by
ClausDC
Top achievements
Rank 1
Iron
Iron
Answers by
Ivan Ivanov
Telerik team
Share this question
or