I am seeing some odd behavior with the combobox.
I have them on a page and if you drop down and check on of the entries it shows the value in the box. I then close the box then open it again and select another from the list it shows 2 selected but then when the dropdown goes away the text area now shows the same of the first one I had selected. I then click the box again and select all from the drop down list, it says all selected but when the drop down collapses the box displays the same value of what was originally selected. IIt does not seem to be an issue if you select more than one in the very beginning
This is the box on the screen
This is the javascript for the OnCLientLoad
I have them on a page and if you drop down and check on of the entries it shows the value in the box. I then close the box then open it again and select another from the list it shows 2 selected but then when the dropdown goes away the text area now shows the same of the first one I had selected. I then click the box again and select all from the drop down list, it says all selected but when the drop down collapses the box displays the same value of what was originally selected. IIt does not seem to be an issue if you select more than one in the very beginning
This is the box on the screen
<
tr
>
<
td
style
=
"vertical-align: top"
>Conversion:
</
td
>
<
td
>
<
telerik:RadComboBox
runat
=
"server"
ID
=
"ConversionType"
Width
=
"100%"
DataTextField
=
"ConversionDescription"
DataValueField
=
"ConversionTypeID"
OnClientLoad
=
"onLoad"
Skin
=
"Sunset"
EmptyMessage
=
"Select Conversion"
MaxHeight
=
"200px"
CheckBoxes
=
"True"
ShowToggleImage
=
"False"
EnableCheckAllItemsCheckBox
=
"true"
ShowDropDownOnTextboxClick
=
"False"
MarkFirstMatch
=
"True"
/>
</
td
>
</
tr
>
This is the javascript for the OnCLientLoad
function onLoad(sender) {
var div = sender.get_element();
$telerik.$(div).mousedown(function (e) {
if (sender.get_dropDownVisible()) {
sender.hideDropDown();
}
else {
sender.showDropDown();
}
});
}