Hi,
I have a RCB that is configuresd
<
telerik:RadComboBox
ID
=
"RadComboBoxPlan"
runat
=
"server"
AutoPostBack
=
"True"
OnSelectedIndexChanged
=
"OnPlanTextChanged"
ChangeTextOnKeyBoardNavigation
=
"True"
DropDownAutoWidth
=
"Enabled"
EnableLoadOnDemand
=
"True"
Filter
=
"StartsWith"
DataSourceID
=
"PlanSqlSource"
DataTextField
=
"name"
DataValueField
=
"plan_id"
OnItemsRequested
=
"RadComboBoxPlan_OnItemsRequested"
ViewStateMode
=
"Enabled"
>
<
DefaultItem
Text
=
"Choose plan"
Value
=
"-1"
/>
</
telerik:RadComboBox
>
OnPlanTextChanged updates a radgrid that is dependent on the value of the RCB asn the RadComboBoxPlan_OnItemsRequested updates the select statement of the sql source. It works fine when selecting a value for the first time, but if the dropdown button is clicked again the list will be empty save for the currently selected item. If focus is lost to the RCB and the dropdown button is clicked again the list will populate as expected.
Is there a way i can make sure the list is populated correctly the first time?
Kind regards
Casper