The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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?
ADAdministrator Syncfusion Team 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.
JAJorge A. HernandezSeptember 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