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

AutoCompleteBox with custom text

1 Answer 100 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Sathya
Top achievements
Rank 1
Sathya asked on 20 Jun 2018, 11:58 AM

Hi Team,

 

I have to use AutoCompleteBox with multiple items, but I need to add some custom text between each selected items.

For an example, if the AutoCompleteBox is bound with following items like FileName, ReceivedDate, FileSize, etc., And the AutoCompleteBox with custom text and the selected items with cross buttons like below.

"File name is {FileName} and it is received on {ReceivedDate}"

 

Does this possible in AutoCompleteBox?

 

Regards,

Sathya

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 25 Jun 2018, 08:28 AM
Hello Sathya,

With the current implementation, such a customization is not possible - the text always matches the SelectedItem text. What I can suggest you would be to use non editable RadComboBox and use a SelectionBoxTemplate that displays the needed text.

Hope this helps.

Regards,
Kalin
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
AutoCompleteBox
Asked by
Sathya
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or