Blogs

Mehul Harry's DevExpress Blog

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

     

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?

Comments

 

Jeroen Nijhuis said:

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

March 17, 2009 4:31 AM
 

Do TheWeb said:

I really like the look of this control. 

April 9, 2009 4:15 PM
 

Joe Gituto said:

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?

April 14, 2009 6:30 AM
 

Mehul Harry (DevExpress) said:

Hi Joe,

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

April 14, 2009 4:34 PM
 

Chaibi Zahreddine said:

Hi,

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

plz i am waiting for answer

July 6, 2009 7:40 PM
 

Mehul Harry (DevExpress) said:

Hello Chaibi,

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

July 6, 2009 8:03 PM
 

Chaibi Zahreddine said:

thx a lot

July 7, 2009 9:42 PM
 

Angel Huang said:

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.

January 22, 2010 11:38 AM
 

Mehul Harry (DevExpress) said:

@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.

February 10, 2010 12:44 AM

About Mehul Harry (DevExpress)

Mehul Harry is an ASP.NET technical evangelist at Developer Express. You can reach him directly at mharry@DevExpress.com. You can also follow him on Twitter: http://twitter.com/mehulharry
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.