Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. DataGrid DoubleClick Event

DataGrid DoubleClick Event

Scheduled Pinned Locked Moved C#
questioncss
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Afief
    wrote on last edited by
    #1

    Hello everybody, I'm sure many of you have noticed that the doubleclick event of a datagrid object does not respond when clicking on a cell. I googled and found that it's because the first click selects the textbox and the second click raises the Click event of that textbox. now the obvious question is: how can I make the doubleclick event work? is there a way to make the datagrid control less complicated, or use a simple class of it's own instead of a textbox?:confused:

    H 1 Reply Last reply
    0
    • A Afief

      Hello everybody, I'm sure many of you have noticed that the doubleclick event of a datagrid object does not respond when clicking on a cell. I googled and found that it's because the first click selects the textbox and the second click raises the Click event of that textbox. now the obvious question is: how can I make the doubleclick event work? is there a way to make the datagrid control less complicated, or use a simple class of it's own instead of a textbox?:confused:

      H Offline
      H Offline
      hasansheik
      wrote on last edited by
      #2

      hi, you can call the grid's double click event whithin the textbox's double click event. that's all Mohamed Hasan is usally called as Hasan. He is very much interested in C++ programming . He slowly picking up .NET programming. He done his Bachler degree in Arumugam Pillai Seethai Ammal college Thiruppathur. and Master degree in MK university College. Contact him at: hasansheik@hotmail.com hasansheik@yahoo.co.in hasansheik@lycos.com

      A 1 Reply Last reply
      0
      • H hasansheik

        hi, you can call the grid's double click event whithin the textbox's double click event. that's all Mohamed Hasan is usally called as Hasan. He is very much interested in C++ programming . He slowly picking up .NET programming. He done his Bachler degree in Arumugam Pillai Seethai Ammal college Thiruppathur. and Master degree in MK university College. Contact him at: hasansheik@hotmail.com hasansheik@yahoo.co.in hasansheik@lycos.com

        A Offline
        A Offline
        Afief
        wrote on last edited by
        #3

        Hello Hassan, right I could point the two at the same procedure, but this will enforce a triple click to raise the double click event(1click =select +2clicks=dblckick) which is not what I want to achieve

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups