is there a mechanism to display the suggestion list before the user enters any text? I'm looking for something like a ComboBox / AutoCompleteBox hybrid control.
Thanks,
Rob.
3 Answers, 1 is accepted
0
Ivaylo Gergov
Telerik team
answered on 03 Feb 2015, 04:16 PM
Hello Rob,
You can show the suggestion list through the RadAutoCompleteBox.IsDropDownOpen property. For example:
this.autoCompleteBox.IsDropDownOpen = true;
Note, that you should ensure the control has been initialized when you change the property.
Regards,
Ivaylo Gergov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
I understand that this would open up the dropdown list but wouldn't it be empty since the default behavior is that when no text is entered, the suggestion list is empty?
The way I read Rob's question is:
1) How can we show a suggestion list -showing all suggestions - when no text has been entered YET.
2) And filter the suggestion list according the user entered text while typing
That way the control would be both a dropdown list with selectable items AND an autocomplete box showing the matching values from the list.
How should one setup the component to enable this behaviour?
I have attached a sample project to demonstrate that when you open the dropdown and no text is entered the suggestion list contains all the elements.
I hope this helps.
Regards,
Ivaylo Gergov
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items