Hi,
(I am using the 2012.3.1205.40 version.)
I think I figured out a weird issue with the RadComBox when used with LoadOnDemand + EnableVirtualScrolling.
I bind my RadComboBoxes with a WCF Webservice and has been surprised to see that it is called two times:
- when I open the drop down panel (normal)
- but also after I selected an item.
I checked your demo and it worked as expected.
Finally I detected that it was the MaxHeight property that makes the RadCombobox to call the WCF Webservice two times.
Code:
The first RadCombobox calls my WCF Webservice two times, whereas the second one behaves normally (only one call).
Moreover because it is called two times, when you try to get the selectedItem after the second call, it returns null:
Can you check and confirm that?
(I am using the 2012.3.1205.40 version.)
I think I figured out a weird issue with the RadComBox when used with LoadOnDemand + EnableVirtualScrolling.
I bind my RadComboBoxes with a WCF Webservice and has been surprised to see that it is called two times:
- when I open the drop down panel (normal)
- but also after I selected an item.
I checked your demo and it worked as expected.
Finally I detected that it was the MaxHeight property that makes the RadCombobox to call the WCF Webservice two times.
Code:
<
telerik:RadComboBox
ID
=
"ddlCustomer"
runat
=
"server"
ClientIDMode
=
"Static"
EnableLoadOnDemand
=
"true"
MaxHeight
=
"200"
ShowMoreResultsBox
=
"true"
EnableVirtualScrolling
=
"true"
EmptyMessage
=
"Type here ..."
>
<
WebServiceSettings
Path
=
"~/TestWS.svc"
Method
=
"LoadCustomersOnDemand"
/>
</
telerik:RadComboBox
>
<
telerik:RadComboBox
ID
=
"ddlCustomer2"
runat
=
"server"
ClientIDMode
=
"Static"
EnableLoadOnDemand
=
"true"
ShowMoreResultsBox
=
"true"
EnableVirtualScrolling
=
"true"
EmptyMessage
=
"Type here ..."
>
<
WebServiceSettings
Path
=
"~/TestWS.svc"
Method
=
"LoadCustomersOnDemand"
/>
</
telerik:RadComboBox
>
Moreover because it is called two times, when you try to get the selectedItem after the second call, it returns null:
$find(
"ddlCustomer"
).get_selectedItem()
Can you check and confirm that?