I've tried to figure this out but this one piece is stumping me. I'm sure it's easy for one of the more experienced rad users or Telerk, but I'm not seeing it.
I have a Rad Grid for Ajax with a textbox column that when in edit mode is a Rad Combobox. When I switch to edit mode I want the combobox to be set to the value of the textbox. The combobox is populated on demand in edit mode, which might be the problem, but I don't know how else to populate the combobox when I enter edit mode.
Is there a way to retrieve the original value of the textbox in the following method and set the combo to that after I populate the combo?
I have a Rad Grid for Ajax with a textbox column that when in edit mode is a Rad Combobox. When I switch to edit mode I want the combobox to be set to the value of the textbox. The combobox is populated on demand in edit mode, which might be the problem, but I don't know how else to populate the combobox when I enter edit mode.
Is there a way to retrieve the original value of the textbox in the following method and set the combo to that after I populate the combo?
Public
Sub rcLt_ItemsRequested(ByVal sender As Object, ByVal e As RadComboBoxItemsRequestedEventArgs)
Dim itemsList As String() = {"J", "G"}
Dim comboBox As RadComboBox = DirectCast(sender, RadComboBox)
comboBox.Items.Clear()
comboBox.DataSource = itemsList
comboBox.DataBind()
'How do I retrieve the value of the textbox from before I entered edit mode?
End Sub
If somebody could give me some guidanc on this that would be great!
Thanks