Hi.
I have a radgridview with a multi columns and one column is a combobox , i want to validation row when user select a item in combobox on ValueChanged event in radgrid . how can i get value a cell (combobox) in radgridview on ValueChanged event ?
plz help me .
1 Answer, 1 is accepted
0
Stefan
Telerik team
answered on 10 Nov 2014, 11:34 AM
Hi Jack,
Thank you for writing.
In the ValueChanged event, you can get the cell value by using the CurrentCell property of RadGridView. This will be the value prior the change:
radGridView1.CurrentCell.Value
To get the new value, you can access the currently active editor vie the ActiveEditor property of the grid, and check its Value property:
radGridView1.ActiveEditor.Value
I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.
Regards,
Stefan
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.