When using the gridviewcomboboxcolumn, shouldn't the cell's value be set to the Value of the combobox and not the text?
here is the code I am using to add the items to the combobox. It is always choosing the text of the combobox instead of the value.
What am doing wrong?
here is the code I am using to add the items to the combobox. It is always choosing the text of the combobox instead of the value.
oCombobox = CType((CType(e.ActiveEditor, RadDropDownListEditor)).EditorElement, RadDropDownListEditorElement)oCombobox.Items.Add(New RadListDataItem("Boolean", GetType(Boolean).ToString))oCombobox.Items.Add(New RadListDataItem("Date", GetType(DateTime).ToString))oCombobox.Items.Add(New RadListDataItem("Numeric", GetType(Double).ToString))oCombobox.Items.Add(New RadListDataItem("Text", GetType(String).ToString))What am doing wrong?