Hey,
I want to copy data from an excel sheet to my Grid using CTRL-C and CTRL - V.
Please anybody tell me the complete method to do so. I have read the formums and blogs but still unable to copy-paste.
As people are telling to use: e.Layout.Override.AllowMultiCellOperations = AllowMultiCellOperation.All
this line still does not helped me.
Regards
Mudassar
Hi Mudassar,
If you set AllowMultiCellOperation in the grid to all, the grid should accept pasting date from Excel. There's nothing else you need to do. But of course, the grid must be editable and there may be certain restrictions on making sure the selection types match up.
What exactly is the problem you are having? When you paste in the grid, does anything happen? Are you getting an error?