I insert grid about 260,000 line text. When I select all and copy them. Sometime I will get a clipboard error message. But after that I paste the data.
Do you know how to avoid it?
Hi,
Just checking if the latest reply helped you out and if you require any further assistance on the matter.
Sincerely,DimiDeveloper Support Engineer, MCPD Infragistics, Inc.www.infragistics.com/support
The WPF (and Windows Forms) Clipboard class are used to interact with the OS clipboard. The OS clipboard can only be opened by one application at a time so sometimes that exception will occur because the clipboard was locked by another app. We have wrapped the clipboard class similar to the WinForms implementation such that we will attempt to copy the information multiple times but if after a few tries it still cannot be opened then the clipboard operation will be aborted and the exception that occurred will be displayd as the error for the clipboard operation. The error you see is the exception that is raised by the clipboard class when the clipboard cannot be opened.