How to force close dropdown in AutoCompleteBox?

1 Answer 9 Views
AutoCompleteBox DropDownList
Yan Moura
Top achievements
Rank 1
Veteran
Iron
Yan Moura asked on 27 May 2021, 05:54 PM | edited on 27 May 2021, 06:04 PM

Hello,

I'd like to know how to clear items and force close dropdown in AutoCompleteBox from client side (Javascript)...

Thanks!

1 Answer, 1 is accepted

Sort by
0
Yan Moura
Top achievements
Rank 1
Veteran
Iron
answered on 29 May 2021, 03:10 PM

I figured it in case someone is in the very same problem:

var autoComplete = $find("<%= RadAutoCompleteBox1.ClientID %>");
autoComplete._dropDown.close();
Tags
AutoCompleteBox DropDownList
Asked by
Yan Moura
Top achievements
Rank 1
Veteran
Iron
Answers by
Yan Moura
Top achievements
Rank 1
Veteran
Iron
Share this question
or