Link to home
Start Free TrialLog in
Avatar of Larry Brister
Larry BristerFlag for United States of America

asked on

WinForms Dynamically created DropdownList

Working with WinForm .Net 4.x project  

I have a Form with a dropdownlist on it named ddlHoliday1

What I want is on selection made from the ddl,
Dynamically add another ddl right below it.
When that one has a selection it again
Up to a total of 7 Dropdown lists.
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

do you really need to create them dynamically or just set there content according to the previous one?

in the case the second option is enough, check
Avatar of Larry Brister



I guess the point is I don;t want 7 ddl's cluttering up the form unless they get used.

I suppose I could create them all...sstack them somewhere...and then make visin;e and position on click or previous ddl?
you can always play with there visible state on the fly.
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
YAY!  WHoopie! Attaboy!  Hot Dog!!

Uhhhhh...remind me to buy you a sody-pop sometime.