Hi,
My RadComboBox in aspx:
<telerik:RadAutoCompleteBox runat="server" id="RadAutoCompleteBox" onclientrequesting="requesting"> </telerik:RadAutoCompleteBox>
I have array (50 items) in Javascript. Details item:
- Id- this element set to value selected item;
- Text ( Account Number + Description) - this element set to selection list in RadAutoCompleteBox;
- Account Number - this element set to input;
I would like update RadAutoCompleteBox in function requesting in Javasctipt.
function requesting(sender, eventArgs) {
var value = sender.get_text();
for (var j = 0; j < myArray.length; j++) {
if (myArray[j][1].indexOf(value) > -1) {
????????????;
}}};