Datagrid in AutocompleteBox

2 posts, 0 answers
  1. Marco
    Marco avatar
    3 posts
    Member since:
    Feb 2017

    Posted 15 Mar 2017 Link to this post

    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)

  2. Dilyan Traykov
    Dilyan Traykov avatar
    1136 posts

    Posted 17 Mar 2017 Link to this post

    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.

    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 allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top