This is a migrated thread and some comments may be shown as answers.

How to close autocomplete dropdown manually?

2 Answers 381 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Shengwei
Top achievements
Rank 1
Shengwei asked on 30 May 2013, 03:17 AM
I have a search button and when user press enter, it will start a search.

however, the dropdown list is still be shown when enter is pressed. 

how to hide the dropdown when i press enter to perform search? 

i knew when i perform a selection, the dropdown list will be closed. 

2 Answers, 1 is accepted

Sort by
0
Accepted
Konstantina
Telerik team
answered on 30 May 2013, 02:18 PM
Hi,

You could set the IsDropDownOpen property of the AutoCompleteBox to False, in order to close the drop down.

Regards,
Konstantina
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Shengwei
Top achievements
Rank 1
answered on 31 May 2013, 07:20 AM
Great, thanks for the help!
Tags
AutoCompleteBox
Asked by
Shengwei
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Shengwei
Top achievements
Rank 1
Share this question
or