Display Multiple Columns In ASP.NET Combo Box And List Box

16 March 2009

Check out the live demo of our ASP.NET Combo Box here: ASPxComboBox Multiple Columns

Screencast - Multiple Columns ListBox ComboBox

Check out the new multiple columns feature video which shows you how to display several columns inside of a list box or combo box.

The multiple columns feature is very slick. And it has the potential to replace the need for a grid.

Watch the video and learn:

  • How to setup an ASPxListBox for multiple columns
  • How to setup an ASPxComboBox for multiple columns
  • ASPxComboBox's (cool) TextFormatString property

All that in under 7 minutes! Click here to watch it now.

Done watching? Pretty nice, isn't it? Are you ready to use multiple columns now?

9 comment(s)
Jeroen Nijhuis

Wow, that's looking really great. I especially like the possibilities of the TextFormatString property!

17 March, 2009
Do TheWeb

I really like the look of this control. 

9 April, 2009
Joe Gituto

Any examples in text i.e. not Video?

I am having  an error while trying to use the combo box inside a DetailsView control when the multi column feature is enabled. Setting the combo's property: Value='<%# Eval("SomeID") %>' seem to trigger the error: "Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control."

The error goes away if i set DetailsView EnableViewState="False" or remove the multiple columns. Is this a bug?

14 April, 2009
Mehul Harry (DevExpress)

Hi Joe,

Good news. Plato from support just checked this and it works just fine. Check out this sample: http://is.gd/srbd

14 April, 2009
Chaibi Zahreddine

Hi,

I just ask if the ASPxComboBox multi columns exists in DevExpress .v8.2

plz i am waiting for answer

6 July, 2009
Mehul Harry (DevExpress)

Hello Chaibi,

This feature was introduced in the DXperience 2009 volume 1 release.

6 July, 2009
Chaibi Zahreddine

thx a lot

7 July, 2009
Angel Huang

Hi Mehul,

Thanks for making the video. I've implemented a multi column combo box column in a gridview. It works great, except I am not able to change the display format for columns in the combo box, especially when data types are

  boolean --- showed as True/False while users want Yes/No

  small money  -- scale showed four digits instead of two, e.g. 25.0000 instead of 25.00

The gridview is 9.2.6.0. Is there any way to control the format in this version or in a newer version?

Thanks.

22 January, 2010
Mehul Harry (DevExpress)

@Angel,

Check out this issue which may help explain it:

www.devexpress.com/issue=B36661

Also, feel free to ping our support for further explanation.

10 February, 2010

Please login or register to post comments.