Autocomplete in RadDropDownList not show dropDownList periodically

2 posts, 1 answers
  1. Nickolay
    Nickolay avatar
    4 posts
    Member since:
    Jul 2017

    Posted 01 Nov Link to this post

    Hello. In my raddropdownlist is enabled autocomplete function (suggest mode). I'm intercept KeyUp event and when Text.Length in my TextBox element of RadDropDownList is 4,i make request to my API and fill dropDownList. (it's for optimization, because count of all my entities for dropDownList is more than 2 000 000 elements)

     

    It's working fine, but only when I press the keys not very fast. If I quickly type a word to search, then a pop-up window with possible results for autocomplete does not showing! I can switch between options by pressing the keys down and up, and the options are changes in the TextBox element, but without a drop-down list.

    Question: Is there any event that happens when autocompletion shows a drop-down list? I can catch a situation when the list does not drop out and manually execute the command to display.

  2. Answer
    Hristo
    Admin
    Hristo avatar
    1087 posts

    Posted 01 Nov Link to this post

    Hi Nickolay,

    Thank you for writing.

    You can handle the PopupOpened event of the drop-down list element responsible for the displaying the autocomplete data. You can subscribe to the event this way: 
    this.radDropDownList.DropDownListElement.AutoCompleteSuggest.DropDownList.PopupOpened += DropDownList_PopupOpened;

    Please also consider checking the following KB project discussing a setup similar to yours: https://www.telerik.com/support/kb/winforms/details/server-side-auto-complete-for-raddropdownlist.

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Regards,
    Hristo
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top