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

Track event when used 'insert' from contextmenu

1 Answer 63 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Maximilian
Top achievements
Rank 1
Maximilian asked on 26 Apr 2013, 10:08 AM
Hi,

I try to hook an event that signals the value changing, when I am using the 'Insert' (or 'Einfügen' in german) function from the standard context menu. Neither 'CellValueChanged' is fired nor 'ValueChange' . I need to track cause of the database update. Can you help?

Greets Robert

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 01 May 2013, 07:27 AM
Hi Robert,

Thank you for writing.

I am not sure where have you seen this command as the default context menu of RadGridView does not contain such option. I have also checked the localization provider and there is not "insert" string in it. 

However, if the user adds row, you can use the UserAddedRow event of RadGridView. Alternatively, you can use the RowsChanged/ing event to track the rows addition: http://www.telerik.com/help/winforms/gridview-insert-update-delete-records-tracking-changes-in-radgridview.html.

I hope that you find this information useful.
 

Regards,
Stefan
the Telerik team
WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
Tags
GridView
Asked by
Maximilian
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or