Hi!
I need to allow copy/paste of a row in a wingrid. The problem is that I have 2 cells that are read-only. So when I paste the row, I received an error asking me to continue to copy in the read-only cell or cancel. If I click OK then everything works fine. My question is How can I deactivate this message to always paste (with copy cell content in read-only cells) without warnings and message boxes ?
I looked in the WinGrid Error event and found MultiCellOperationErrorInfo object, but I didn't find the way to correct this behavior.
Best regards,
Benoit
Hi Mike,
I downloaded the latest service release (10.3.20103.2094) and it still doesn't work. The cell with a format (format=c) is not copied successfully.
Hi Benoit,
Build 1000 is the release version. If you are using build 1000, then you are not using any service release.
Yes, I use the latest service release that I can find in my downloads. The version is 10.3. The complete build number is 10.3.20103.1000 in my reference of my project.
What version of the grid are you using? Do you have the latest service release?
How to get the latest service release - Infragistics Community
sorry for the long delay before I answer you on this problem. I made a little project with only a grid. I have several columns and some columns are decimal values. If I don't use any format string, copy paste works great.
But if I put a Format on a decimal column (col.Format = c) to see money, then I received an error on this column when I copy paste. I can continue and everything is paste successfully except the decimal column with the format string. I thought it was in my code but a very simple project demonstrate the problem. You can try this by yourself very easily. My project is linked to my database so it is hard to give it to you for the moment.