DataGridView, how to capture a cell's KeyPress event...

  • Thread starter Thread starter mrhicks
  • Start date Start date
M

mrhicks

Guest
Hello all,

I am trying to implement an event handler for the KeyPress event for
a cell within a DataGridView control. The obvous starting point from
the DataGridView keypress event, but this doesnt work for the cell. I
found this posting while searching, but this doesnt work with the .NET
2.0 beta framework.

http://www.csharphelp.com/boar d2/read.html?f=1&i=35363&t=305 32

I was trying to attempting something with the following...

PropertyDescriptorCollection pcol =
this.BindingContext[dtCanRegisters].GetItemProperties();

Then assign the DataGridTableStyel to the properties, but I cant get
it to work. Any ideas or suggestions? I am using VS.NET 2005 Express
beta...

Mark

Continue reading...
 
Back
Top