We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Exception during Copy operation

Thread ID:





22317 Dec 9,2004 05:17 PM UTC Dec 9,2004 11:26 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On December 9, 2004 05:17 PM UTC

I have users getting an exception when the select a few rows in a databound grid control. The rows can have a very large volume of data on them. I am guessing the copy buffer can''t hold all the data. But I don''t think it should throw an exception. Is there a workaround to this?

Administrator [Syncfusion]
Replied On December 9, 2004 11:26 PM UTC

You can handle the grid.Model.ClipboardCopy event and handle the copy yourself inside a try-Catch block, and handle the exception. maybe something like:
private void gridControl1_ClipboardCopy(object sender, GridCutPasteEventArgs e)
		GridRangeInfoList list = new GridRangeInfoList();
		this.gridControl1.CutPaste.CopyCellsToClipboard(list, true);
		e.Handled = true;
		e.Result = true;


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon