Combobox selected Index changed Event in GridView

2 posts, 0 answers
  1. Vimal
    Vimal avatar
    5 posts
    Member since:
    Apr 2012
  2. Ivan Petrov
    Admin
    Ivan Petrov avatar
    717 posts

    Posted 04 Jul 2013 Link to this post

    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 >>
Back to Top