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. Windows Datagrid KeyUp Event?

Windows Datagrid KeyUp Event?

Scheduled Pinned Locked Moved C#
debuggingtutorialquestion
1 Posts 1 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.
  • M Offline
    M Offline
    MCSD Gandalf
    wrote on last edited by
    #1

    I have a windows app that requires I use the Microsoft Datagrid. My users would like to be able to select multiple rows using the Shift and Ctrl keys, and the datagrid has the selection funtionality built-in, BUT I can't seem to get the datagrid to respond to the KeyUp event for those keys on the datagrid correctly. It appears that it only fires if I do click on the margin/control area OUTSIDE the rows. I have the same code in a MouseUp event and that event seems to fire correctly, however although I have a breakpoint set in the KeyUp event, it never appears to enter this event. Does anyone have an idea of what I'm doing wrong, or an example of some KeyUp event at the datagrid level? Thanks

    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