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

Custom template for drop down

3 Answers 64 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
bohebolo
Top achievements
Rank 1
bohebolo asked on 04 Jan 2013, 03:36 PM
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?

3 Answers, 1 is accepted

Sort by
0
Ivo
Telerik team
answered on 08 Jan 2013, 12:05 PM
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.

0
bohebolo
Top achievements
Rank 1
answered on 08 Jan 2013, 04:09 PM
Hi Ivo, thanks for your reply.
However, can you be more specific why we can't use RadGridView as it's template?
0
Accepted
Ivo
Telerik team
answered on 09 Jan 2013, 09:34 AM
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.

Tags
AutoCompleteBox
Asked by
bohebolo
Top achievements
Rank 1
Answers by
Ivo
Telerik team
bohebolo
Top achievements
Rank 1
Share this question
or