Datagridview comboboxcolumn event

Posted on 2011-04-25
Last Modified: 2012-05-11
I have a datagridview in 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?
Question by:laughslogan
    LVL 22

    Expert Comment

    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.
    LVL 22

    Accepted Solution


    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
    This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now