Start Free Trial
Come for the solution, stay for everything else.
Start Free Trial
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 made...do it again
Up to a total of 7 Dropdown lists.
8/22/2022 - Mon
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
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.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
ASKER CERTIFIED SOLUTION
Log in or sign up to see answer
Become an EE member today
7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
YAY! WHoopie! Attaboy! Hot Dog! Way...to...go!
Uhhhhh...remind me to buy you a sody-pop sometime.
Plans and Pricing
Certified Expert Program
© 1996-2022 Experts Exchange, LLC. All rights reserved. Covered by US Patent