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

Datagrid in AutocompleteBox

1 Answer 114 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Marco
Top achievements
Rank 1
Marco asked on 15 Mar 2017, 08:04 AM

Good morning,

 

How it's possible insert a datagrid within an autocompletebox ?

 

I've tried to make this with a DropDownTemplate, but I have a datagrid for each element of my collection (see the picture on attachment)

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 17 Mar 2017, 12:39 PM
Hello Marco,

I'm afraid that it is not possible to replace the ListBox control inside of the RadAutoCompleteBox with another control.

You could, however, mimic the look of the RadGridView control inside of the control template of RadAutoCompleteBox but you will also probably want to define a custom DropDownItemTemplate as well as set the DisplayMemberPath property to filter on. Depending on your needs, you may also need to define a custom Filtering Behavior.

All of this, however, depends on your exact requirements, and if you need any further assistance from my end, you will have to share more results on your setup and desired result. With that information available I will gladly assist you further.

Regards,
Dilyan Traykov
Telerik by Progress
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 you to write beautiful native mobile apps using a single shared C# codebase.
Tags
AutoCompleteBox
Asked by
Marco
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or