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

Close RadAutoCompleteBox when it is open by clicking on the drop down button.

1 Answer 30 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 04 Apr 2017, 04:58 PM

Hi

The drop down always opens when you click the drop down button.
Is it possible to have standard drop down behavior that when you click and the drop down is already opened it would close and not just open again?

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 07 Apr 2017, 07:13 AM
Hello Ivo,

By design RadAutoCompleteBox does not have a DropDown button. Have you made some modifications to the control?

We have an SDK example in our Github repository that demonstrates how to populate the drop down portion of the AutoCompleteBox with items uwing a Button:
https://github.com/telerik/xaml-sdk/tree/master/AutoCompleteBox/OpenWithDropDownButton

We have noticed that the example does not behave as expected, so we have modified it in order to demonstrate you how to open and close the DropDown using the Button - please, check the attached file.

Hope this helps.

Regards,
Nasko
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
AutoCompleteBox
Asked by
Tim
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or