Hi everyone,
I'm manipulating a RadComboBox client-side in javascript using jquery and need some help. I'm loading items into the dropdown via the requestItems() method. I would like to do a synchronous wait until the dropdown has finished loading completely. I couldn't find any such methods in the documentation: http://www.telerik.com/help/aspnet-ajax/combobox-client-side-radcombobox.html
Here's my code
Does anyone know of a solution? Solution doesn't have involve jquery.
Thanks!
I'm manipulating a RadComboBox client-side in javascript using jquery and need some help. I'm loading items into the dropdown via the requestItems() method. I would like to do a synchronous wait until the dropdown has finished loading completely. I couldn't find any such methods in the documentation: http://www.telerik.com/help/aspnet-ajax/combobox-client-side-radcombobox.html
Here's my code
var
cb = $find(
'RadComboBoxId'
);
var
filterText =
"my filter"
;
cb.clearItems();
cb.clearSelection();
cb.showDropDown();
cb.set_text(filterText);
cb.requestItems(filterText,
false
);
/* i would like to wait synchronously here until the list has completely loaded
before proceeding to the next line. */
alert(
'all relevant items have been loaded!'
);
Does anyone know of a solution? Solution doesn't have involve jquery.
Thanks!