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.
Syncfusion Feedback

customize paste

Thread ID:

Created:

Updated:

Platform:

Replies:

31717 Jul 13,2005 09:07 AM UTC Jul 13,2005 11:36 AM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On July 13, 2005 09:07 AM UTC

I need to customize copying and pasting of cells in a grid. For example, I want to copy the contents to clipboard and get the data form clipboard and paste them in the grid. I do not want to use gridcontrol.cutpast.paste() as it poses many problems when i paste multiple cells. Kindly let me know the possible way (or samples) of pasting the values in cells from Clipboard.

Administrator [Syncfusion]
Replied On July 13, 2005 11:36 AM UTC

You can handle the grid.Model.ClipboardCopy and grid.Model.ClipboardPaste events and do what ever pasting and copying you want to do. You only need to set e.Handled = true to tell the grid not to do its default code. Here are some forum threads you can look at. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=9906 http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=9389 http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=16088 http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=17940 http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=22163

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.

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

;