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

Combobox selected Index changed Event in GridView

1 Answer 440 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Vimal
Top achievements
Rank 1
Vimal asked on 01 Jul 2013, 10:54 AM

1 Answer, 1 is accepted

Sort by
0
Ivan Petrov
Telerik team
answered on 04 Jul 2013, 10:12 AM
Hello Vimal,

Thank you for writing.

I am copying you our answer from the support ticket you have posted with the same question, so the community can benefit from it. 

As to the question at hand I would like to point your attention to two events in RadGridView - ValueChanged and CellValueChanged. The first one will occur when the user changes a value in an editor in RadGridView i.e. when he opens the combo box and selects different item - for example by defaulitem 0 is selected, the user opens the combo editor and selects item 2. In this event, the cell value (radGridView1.CurrentCell.Value) will still be item 0 however, the editor value will be item(radGridView1.ActiveEditor.Value). To summarize this events notifies you about changes in the editor. As to the second event - CellValueChanged, it will be triggered when the user changes a cell value and commits it i.e. the cell goes out of edit mode. 

More information about the events during the editing process in RadGridView can be found here: Editing events.


I hope that you find this information useful and you will be able to apply it in your scenario.

Regards,
Ivan Petrov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
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
Vimal
Top achievements
Rank 1
Answers by
Ivan Petrov
Telerik team
Share this question
or