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

How to replace EditingControlShowing event

1 Answer 151 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ricardo
Top achievements
Rank 1
Ricardo asked on 21 Jan 2019, 07:50 AM

Hello, administrator

    In the past, I used the DataGridView control, but now I use the RadGridView control, but I can't find the EditingControlShowing event, I need this event now,

please tell me what event should I use instead of it

    Please reply me as soon as possible. Thank you

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 23 Jan 2019, 09:48 AM
Hello, Ricardo,      

RadGridView provides a very convenient API for editing the cells. The CellBeginEdit is fired when the cell is about to enter edit mode. You can cancel edit mode at this stage by setting the Cancel property to true. In the EditorRequired event you can specify what editor exactly to be shown. You can either leave the default editor or replace it with a custom one. Then, the CellEditorInitialized event is fired when the editor is initialized and visible. This is the appropriate place to introduce final changes to the editor.

I would recommend you to have a look at the following help article demonstrating how handle the editing process in RadGridView:

https://docs.telerik.com/devtools/winforms/controls/gridview/editors/editors
https://docs.telerik.com/devtools/winforms/controls/gridview/editors/default-editors
https://docs.telerik.com/devtools/winforms/controls/gridview/editors/events
https://docs.telerik.com/devtools/winforms/controls/gridview/editors/using-custom-editors

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Ricardo
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or