in
Forums
Blogs
DevExpress.com
Client Center
Support Center
DevExpress Channel

This Blog

Syndication

News

Email Subscriptions

The ASPx Blog - Mehul Harry's DevExpress Blog

[Besides this blog, you can also follow me on twitter at: twitter.com/mehulharry]

ASP.NET, DevExpress, ASP.NET MVC, WebForms, ASPxGridView, Controls and News - This is The ASPx Blog, Mehul Harry's work blog. I write about all the latest info on DevExpress ASP.NET news and bring you relevant developer content including: Screencasts, How-Tos, Videos, and new features/controls from Developer Express.

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

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?

Published Mar 16 2009, 04:20 PM by Mehul Harry (Developer Express)

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 (Developer Express) 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 (Developer Express) 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

Leave a Comment

(required)  
(optional)
(required)  
Verification code: Required
   
Add

About Mehul Harry (Developer Express)

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
Copyright © 1998-2010 Developer Express Inc.
ALL RIGHTS RESERVED