Hello,
I am using loadondemand for a radcombobox control as follow:
when I try to obtain the selected value in run-time I always get "0" value even if I select an item from database.
I use following code to get districtID value
Am I missing something?
I am using loadondemand for a radcombobox control as follow:
<
telerik:RadComboBox
ID
=
"DDL_district"
Runat
=
"server"
DataSourceID
=
"DS_district"
DataTextField
=
"fullAddress
DataValueField
=
"recID"
Width
=
"100%"
AppendDataBoundItems
=
"True"
EnableAutomaticLoadOnDemand
=
"True"
Filter
=
"Contains"
MinFilterLength
=
"3"
ShowMoreResultsBox
=
"True"
EnableVirtualScrolling
=
"True"
ItemsPerRequest
=
"10"
LoadingMessage
=
"Loading...."
EmptyMessage
=
"No such district in the database."
MaxHeight
=
"250px"
>
<
Items
>
<
telerik:RadComboBoxItem
runat
=
"server"
Selected
=
"True"
Text
=
"some text"
Value
=
"0"
/>
</
Items
>
</
telerik:RadComboBox
>
when I try to obtain the selected value in run-time I always get "0" value even if I select an item from database.
I use following code to get districtID value
Dim
districtID
As
String
= DDL_district.SelectedValue
Am I missing something?