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

Multiple columns in the dropdown

4 Answers 207 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
CS
Top achievements
Rank 1
CS asked on 26 Sep 2008, 08:04 PM
Hello,

I've seen from your First Look sample how you can use a custom ItemTemplate to display multiple "columns" of data in the dropdown for each item, but my question is this... is there a way to define column headings for those columns?  Ideally the column headings should not scroll.

Thanks,
Craig

4 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 29 Sep 2008, 07:31 AM
Hi Craig,

RadComboBox does not support this out of the box. You should modify the control template to add headings for the columns in the control. This is not very flexible, because you will have to provide different control template (with different headings) for each combo box instance that has different columns in its drop down. We are aware that multi-column combo box was very often requested feature of RadComboBox for ASP.NET and it is on our list for future development. However, at this I am unable to provide a specific date when we will have it.

Greetings,
Valeri Hristov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Marc Roussel
Top achievements
Rank 2
answered on 16 Dec 2009, 08:37 PM
I had the same request.  This is a MUST HAVE :)
Thank you for your answer.

A workaround is to simply do a UserControl implementing a button templated with an arrow
and showing a GridView when clicked and just bind the content of the button to the selected item property of your choice

will just need event for clicking the button and selecting a row in the grid.
hope this helps.
0
Valeri Hristov
Telerik team
answered on 17 Dec 2009, 12:19 PM
Hi Marc,

I would recommend using RadDropDownButton instead of RadComboBox - it provides the needed API for opening and closing, and you could put inside whatever control you like.

Regards,
Valeri Hristov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Marc Roussel
Top achievements
Rank 2
answered on 21 Dec 2009, 04:30 PM
Tags
ComboBox
Asked by
CS
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Marc Roussel
Top achievements
Rank 2
Share this question
or