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.
Hi,
When a user copies and pastes a value in a DataboundGrid and then moves to the next row, the pasted values disapear while the typped in values remain.
By the way i''m using this code in the SaveCellFormating event, don''t know if it has anything to do with it.
If e.Text = "-" Then
e.Style.CellValue = 0D
e.Handled = True
End If
Any ideas?
ADAdministrator Syncfusion Team May 6, 2005 12:49 AM UTC
You might try handling the grid.Model.ClipboardPaste event. In your handler, try calling grid.CurrentCell.EndEdit and then grid.Binder.EndEdit.
If that does not handle this problem, what version are you using? Can you see the problem in one of our samples, or can you upload a sample project showing the problem?
BHBernard HerrokMay 6, 2005 03:49 AM UTC
I don''t get what you mean.
Do you mean this:
Private Sub ShopLeaseLevelAccrualsDataGridModel_ClipboardPaste(ByVal sender As Object, ByVal e As Syncfusion.windows.forms.grid.GridCutPasteEventArgs)
CType(sender, GridDataBoundGrid).CurrentCell.EndEdit()
CType(sender, GridDataBoundGrid).Binder.EndEdit()
End Sub
when i do that, i can''t paste at all.
>You might try handling the grid.Model.ClipboardPaste event. In your handler, try calling grid.CurrentCell.EndEdit and then grid.Binder.EndEdit.
>
>If that does not handle this problem, what version are you using? Can you see the problem in one of our samples, or can you upload a sample project showing the problem?
ADAdministrator Syncfusion Team May 6, 2005 08:28 AM UTC
Here is a sample. Can you tell me how to see the problem in this sample, or upload a sample showing the problem? Also, what version of our libraries are you using?
http://www.syncfusion.com/Support/user/uploads/GDBG_CopyPaste_f1541fea.zip