The Drop down has a value and text. The text is a suggested description for the description GridBoundColumn. So, I need to find the GridBoundColumn and place the SelectedValue in it. This needs to be done in insert and edit forms of the grid control.
_dataItem("DescrColumn").Text = _comboBox.SelectedValue
The GridBoundColumn displays a TextBox when the grid is in EditMode. Try out the following code to access the TextBox control for the GridBoundColumn in the SelectedIndexChanged event of the RadComboBox:
cs:
Protected Sub RadComboBox3_SelectedIndexChanged(ByVal o As Object, ByVal e As RadComboBoxSelectedIndexChangedEventArgs)
Dim _comboBox As RadComboBox = DirectCast(o, RadComboBox)
Dim _editItem As GridEditableItem = DirectCast(_comboBox.NamingContainer, GridEditableItem)
Dim _textBox As TextBox = DirectCast(_editItem("FirstName").Controls(0), TextBox)