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.
Unfortunately, activation email could not send to your email. Please try again.

End of pasting (Ctr+V) process notification.

Thread ID:





71619 Feb 7,2008 09:29 AM Feb 7,2008 03:11 PM Windows Forms 1
Tags: GridControl
Michal Iwicki
Asked On February 7, 2008 09:29 AM

I use GridContorl in VirtualMode. I would like to know if it is possible to get notification (event) at the and of data pasting operation.

During pasting several _Grid_SaveCellInfo events are fired. I need to evaluate some data manipulation after all data (all cells) are already pasted, not at cell by cell fashion.

Thank you for help.

Sri Rajan [Syncfusion]
Replied On February 7, 2008 03:11 PM

Hi Michal,

Thank you for your continued interest in Syncfusion products.

if it is possible to get notification (event) at the end of data pasting operation?

To Validate the data after pasting operation took place in all the cell, you need to handle gridControl1.Model.ClipboardPasted event. Please refer to the code below, It validate the first cell of pasted cells, and check if it is "T", if it is so, then it will changed it as "Tom. Just like you can implement your own validation.

void Model_ClipboardPasted(object sender, Syncfusion.Windows.Forms.Grid.GridCutPasteEventArgs e)
if (this.gridControl1[this.gridControl1.CurrentCell.RowIndex, this.gridControl1.CurrentCell.ColIndex].Text.Equals("T"))
this.gridControl1[this.gridControl1.CurrentCell.RowIndex, this.gridControl1.CurrentCell.ColIndex].Text = "Tom";


Please refer to the sample for more details.

Please let me know if this helps.



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.

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.