To test out the RadComboBox I constructed a simple web page that has just this one control on it. A small datatable (see attachment) is used to populate the control with this code:
My initial testing has revealed something strange: When I click on any item, the SelectedIndexChanged event is fired.
When I check "e.Text" the correct string is shown. But when I check "e.Value" it always displays -1. Why isn't it showing the correct "Master_Idx" value for that row?
Am I missing something or is this a known bug in the RadComboBox?
Robert
radList.DataSource = CurrentPasses;
radList.DataTextField =
"Description"
;
radList.DataValueField =
"Master_Idx"
;
radList.DataBind();
My initial testing has revealed something strange: When I click on any item, the SelectedIndexChanged event is fired.
protected void radList_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
When I check "e.Text" the correct string is shown. But when I check "e.Value" it always displays -1. Why isn't it showing the correct "Master_Idx" value for that row?
Am I missing something or is this a known bug in the RadComboBox?
Robert