Ctrl-C and VB.NET datagrid

S

simchajoy2000

Hi,

I am having a strange problem. I have a window's form with a datagrid
and for some reason I am not able to copy data in the datagrid cells
by pressing Ctrl-C on the keyboard. I am able to copy data by
right-clicking and then selecting "Copy" from the drop-down menu and I
am able to paste data by pressing Ctrl-V. I just can't get Ctrl-C to
work.

I originally had the datagrid in a user control and I thought that
might be the problem. But after taking it out of the user control I
still had the same problem. Then I thought it might be because I use
a DataGridTableStyle for the datagrid. But when I removed the style I
still had the same problem.

Since I know this has worked in the past and it's standard datagrid
functionality, I am at a loss as to why this is happening.

I don't even have any more ideas of things to test - has anyone ever
encountered this problem before?? And if so, is there a way to fix
it?? Or does anyone have any ideas of things I could test to try to
understand the problem better?? Any guidance would be greatly
appreciated!!

Thanks!!

Joy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top