Hi,
I have a combobox that when it has an item selected I want to go back and select the down arrow and bring up the list of the items in the combobox but keep the selected item until I select a new one. I managed to do it, but I am not sure why it when I first select the combobox dow arrow it brings up only that one item selected and when I click on the down arrow again it does bring up the full list. Please see the attached image to what is goign on. Here is my javascript and aspx:
<telerik:radcombobox ID="cboDocs" runat="server" MarkFirstMatch="False" EnableAutomaticLoadOnDemand="True" ShowMoreResultsBox="true" EnableVirtualScrolling="true"
DataSourceID="ObjDataSourc" Width="200px" EmptyMessage="Select Document" DataTextField="DocName"
OnClientDropDownOpening="dropDownOpening" ToolTip="Select an existing document type to review."
DataValueField="DocID" ItemsPerRequest="12" Skin="Office2010Blue" AutoPostBack="true">
<
function dropDownOpening(sender, args) {
if (sender.get_text() != "") {
sender.set_text(sender.get_text());
sender._filterText = "NotIsEmpty";
sender.requestItems("");
sender.get_items("");
}
}
>
I have a combobox that when it has an item selected I want to go back and select the down arrow and bring up the list of the items in the combobox but keep the selected item until I select a new one. I managed to do it, but I am not sure why it when I first select the combobox dow arrow it brings up only that one item selected and when I click on the down arrow again it does bring up the full list. Please see the attached image to what is goign on. Here is my javascript and aspx:
<telerik:radcombobox ID="cboDocs" runat="server" MarkFirstMatch="False" EnableAutomaticLoadOnDemand="True" ShowMoreResultsBox="true" EnableVirtualScrolling="true"
DataSourceID="ObjDataSourc" Width="200px" EmptyMessage="Select Document" DataTextField="DocName"
OnClientDropDownOpening="dropDownOpening" ToolTip="Select an existing document type to review."
DataValueField="DocID" ItemsPerRequest="12" Skin="Office2010Blue" AutoPostBack="true">
<
function dropDownOpening(sender, args) {
if (sender.get_text() != "") {
sender.set_text(sender.get_text());
sender._filterText = "NotIsEmpty";
sender.requestItems("");
sender.get_items("");
}
}
>