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

Duplicate Paste

Thread ID:





7287 Sep 18,2003 11:23 AM UTC Sep 23,2003 05:31 PM UTC WinForms 2
Tags: GridControl
Jorge A. Hernandez
Asked On September 18, 2003 11:23 AM UTC

I am experiencing a wrong behavior when I try to do a Paste in a single cell of a GridDataBound. When a user is located in a cell and do Ctrl V I am executing the following code: if (gridDataBound.Model.CutPaste.CanPaste()) this.gridDataBound.Model.CutPaste.Paste(); But in that case what I have in the clipboard is copied twice in the cell. If the user copy multiple cells and are pasted in multiples cells the grid is pasted correctly. The problem is when I paste in a single cell. Any ideas how to do a correct paste in a single cell?

Administrator [Syncfusion]
Replied On September 19, 2003 09:04 AM UTC

Copy and pasteing is supported by default, so normally you would not have to add any code to facilitate copying and pasteing. Maybe the code you are adding is causing teh double action. Try commenting it out.

Jorge A. Hernandez
Replied On September 23, 2003 05:31 PM UTC

That works. Definitely we don't have to include any code for copy and paste because the work is already done in the grid Thanks a lot


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