We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Datagridview comboboxcolumn event

laughslogan
laughslogan asked
on
Medium Priority
516 Views
Last Modified: 2012-05-11
I have a datagridview in vb.net VS2010 that has a combobox column in it. It is populated with values from a query. What event occurs  when a value is selected from the dropdown list? The value is in the textbox portion of the combobox but I can't get any event to fire at the time of selecting the value in the dropdown.

Also, I have to click twice on the down arrow to open the dropdown list, once I guess to set focus on the control and then the second to open the dropdown. Is there a way to do it with a single click?
Comment
Watch Question

CERTIFIED EXPERT

Commented:
go to asps/ascx page design view.
right click in datagridview -> edit item template -> column name -> you will be able to select combo box added in gridview. now go to properties window and select event which you want to fire.
otherwise just double click on that combo box for selection change event.
CERTIFIED EXPERT
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.