Update RadAutoCompleteBox in Javascript

1 posts, 0 answers
  1. Grzegorz
    Grzegorz avatar
    2 posts
    Member since:
    Feb 2017

    Posted 28 Feb Link to this post

    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) {                    
                                     ????????????;                    
                                   }}};

    please help
Back to Top