Team
I am using rad combobox in my application for searching.
Whenever user type something in combobox it shows me related data.
I have used OnItemsRequested event for this.
I am having requirement that result drop down won’t show up until I type 3 charactors in combobox
I am using OnClientItemsRequesting event as follow to suppressed OnItemsRequested event.
function onItemsRequesting(sender, eventArgs) {
if (eventArgs.get_text().length < 3) {
sender.hideDropDown();
eventArgs.set_cancel(true);
}
else {
sender._loadingMessage = "Searching for " + eventArgs.get_text() + "...";
}
}
I am using telerik V2011.3.1115.40
Initially combo doesn’t contain any items. It is working fine first time but whenever I remove the characters & number of characters become to 2 & press another letter even then it shows me previous result for few seconds & then shows proper result. Is there any reason for this?
Can you please let me know how to remove all the items of the radcombobox in OnClientItemsRequesting event?
It might resolve the problem.
If you have any other resolution for this please let me know.