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.

Duplicate Paste

Thread ID:

Created:

Updated:

Platform:

Replies:

7287 Sep 18,2003 07:23 AM Sep 23,2003 01:31 PM Windows Forms 2
loading
Tags: GridControl
Jorge A. Hernandez
Asked On September 18, 2003 07:23 AM

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 05:04 AM

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 01:31 PM

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

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.

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.

;