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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

End of pasting (Ctr+V) process notification.

Thread ID:

Created:

Updated:

Platform:

Replies:

71619 Feb 7,2008 02:29 PM UTC Feb 7,2008 08:11 PM UTC WinForms 1
loading
Tags: GridControl
Michal Iwicki
Asked On February 7, 2008 02:29 PM UTC

Hello,
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 08:11 PM UTC

Hi Michal,

Thank you for your continued interest in Syncfusion products.

Issue:
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.
http://websamples.syncfusion.com/samples/Grid.Windows/F71619/main.htm

Please let me know if this helps.

Regards,
Srirajan



CONFIRMATION

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

or the page will be automatically redirected to 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

;