Print Page | Close Window

How do I code a multi-column dropdown

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=266
Printed Date: 12-Jun-2026 at 4:19am


Topic: How do I code a multi-column dropdown
Posted By: Customer
Subject: How do I code a multi-column dropdown
Date Posted: 16-Jul-2007 at 11:10am
I’m having a small problem with the DataGridViewBindingManager. When I add descriptors to the binding manager I have to add a list converter to a specific column.  But this dropdown needs to have different elements in it’s drop down list depending on the row of the grid.  Is there any way that I can allow the listConverter to determine it’s context.



Replies:
Posted By: IdeaBlade
Date Posted: 16-Jul-2007 at 11:13am
What you are asking for is what I call a "multi-column dropdown".  I don't believe that the .NET Windows controls support this capability, but I am sending you sample code for doing this on both DevExpress and Infragistics.
 
Here is the Devex example.
 
http://www.ideablade.com/forum/uploads/20070716_165322_Case455_SimpleA.zip - uploads/20070716_165322_Case455_SimpleA.zip
 
Here is the Infragistics example.
 
http://www.ideablade.com/forum/uploads/20070716_165242_Infragistics_7..zip - uploads/20070716_165242_Infragistics_7..zip
 
 



Print Page | Close Window