Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 507
  • Last Modified:

Datagridview comboboxcolumn event

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?
  • 2
1 Solution
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.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now