Custom template for drop down

4 posts, 1 answers
  1. bohebolo
    bohebolo avatar
    31 posts
    Member since:
    Aug 2010

    Posted 04 Jan 2013 Link to this post

    Really need a quick answer, does AutoCompleteBox can be customized so it can uses gridview as it's drop down part.
    If yes, any reference or suggestion how to achieve it?
  2. Ivo
    Admin
    Ivo avatar
    390 posts

    Posted 08 Jan 2013 Link to this post

    Hi,

    The RadAutoCompleteBox uses a RadListBox for it drop down portion. You can customize the template of the drop down items using the DropDownItemTemplate, however you cannot use a RadGridView as its drop down part.

    All the best,
    Ivo
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. bohebolo
    bohebolo avatar
    31 posts
    Member since:
    Aug 2010

    Posted 08 Jan 2013 Link to this post

    Hi Ivo, thanks for your reply.
    However, can you be more specific why we can't use RadGridView as it's template?
  5. Answer
    Ivo
    Admin
    Ivo avatar
    390 posts

    Posted 09 Jan 2013 Link to this post

    Hello,

    The RadAutoCompleteBox relies that its DropDown portion will be a RadListBox. The control was designed to use RadListBox, because it is intuitive ItemsControl providing selection with both mouse and touch and it can be easily customized. I believe that by editing the RadListBox's Template and ItemTemplate you can achieve almost every possible layout.

    Kind regards,
    Ivo
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top