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

SelectedItems Template

1 Answer 11 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Minh
Top achievements
Rank 1
Minh asked on 06 Jan 2016, 03:38 PM

Hi, when selecting items from the autocomplete box they add the items horizontally and to the right of the previous item. Is it possible to have each item have it's own row?

 

So instead of [Item1] [Item2] [Item3]

It'll be

 

[Item1]

[Item2]

[Item3]

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 07 Jan 2016, 07:53 AM
Hello Minh,

In order to achieve the desired ordering of the selected items of RadAutoCompleteBox you need to modify the default Template of the control. By setting the Orientation property of the AutoCompleteBoxesWrapPanel (inside it the items are arranged) to Vertical the items will be presented as expected.

Please, check the attached sample that demonstrates that approach - notice that Implicit Styles are used.

Hope this helps. 

Regards,
Nasko
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
Tags
AutoCompleteBox
Asked by
Minh
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or