Hi,
In the EditFormTemplate or default (out-of-the-box) form, when I use the combobox with
In the EditFormTemplate or default (out-of-the-box) form, when I use the combobox with
SelectedValue
then I got the error but if I remove it then it's fine but then no item is selected.<
telerik:RadComboBox
runat
=
"server"
ID
=
"RadComboBox2"
DataTextField
=
"StateName"
DataValueField
=
"ID"
HighlightTemplatedItems
=
"true"
Height
=
"190px"
Width
=
"220px"
DropDownWidth
=
"420px"
DataSourceID
=
"sdsStates"
SelectedValue='<%#Bind("ID") %>' EnableAutomaticLoadOnDemand="true"
ItemsPerRequest="10" ShowMoreResultsBox="true" EnableVirtualScrolling="true">
<
HeaderTemplate
>
<
ul
>
<
li
class
=
"col1"
>State Name</
li
>
<
li
class
=
"col1"
>Country</
li
>
</
ul
>
</
HeaderTemplate
>
<
ItemTemplate
>
<
ul
>
<
li
class
=
"col1"
><%# DataBinder.Eval(Container.DataItem, "StateName")%></
li
>
<
li
class
=
"col1"
><%# DataBinder.Eval(Container.DataItem, "countryabrv")%></
li
>
</
ul
>
</
ItemTemplate
>
</
telerik:RadComboBox
>