How to close autocomplete dropdown manually?

3 posts, 1 answers
  1. Shengwei
    Shengwei avatar
    12 posts
    Member since:
    Sep 2012

    Posted 29 May 2013 Link to this post

    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. Answer
    Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 30 May 2013 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Shengwei
    Shengwei avatar
    12 posts
    Member since:
    Sep 2012

    Posted 31 May 2013 Link to this post

    Great, thanks for the help!
Back to Top