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

How to raise a RowDeleting event manually

1 Answer 14 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 19 Dec 2013, 04:35 PM
How do I raise a RowDeleting event manually in code behind?

The RadGridView has the "Deleting" event for which you can specify an event handler in XAML. So when the user presses the Del-Key, this event handler will be called. I'd like to do the same programatically from C# code.

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 20 Dec 2013, 08:23 AM
Hi,

This is an UI event and it will be raised only upon a user interaction. You cannot raise it from code behind.

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Peter
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or