By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,636 Members | 1,814 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,636 IT Pros & Developers. It's quick & easy.

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

P: n/a
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 doesn't work for the cell. I
found this posting while searching, but this doesn't work with the .NET
2.0 beta framework.

http://www.csharphelp.com/board2/rea...=35363&t=30532

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

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

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

Mark

Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.