Start Free Trial
Come for the solution, stay for everything else.
Start Free Trial
ComboBox DropDown Item Click?
I have ComboBox in 'Simple' mode and 'Autocomplete'.
Q. How can I place the Moused-Clicked dropdown selected item into the textbox portion of ComboBox.
This would then trigger the selectedindexchanged event.
8/22/2022 - Mon
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
turn autopostback to true
Just realised - You need the style to be dropdown. With simple I get the same as you do - the text box isn't autofilled when selected by mouse click.
Hello, You have to set the property AutoPostBack = True then, write the code in selectedIndexChanged event of a combobox. txtSample.Text = ddlSample.SelectedValue or SelectedItem
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
Combobox mode is must
I disabled 'Autocomplete' so I dont have the dropdown to deal with anymore. Just using combobox as-is for now.
Plans and Pricing
Certified Expert Program
© 1996-2022 Experts Exchange, LLC. All rights reserved. Covered by US Patent