This is a migrated thread and some comments may be shown as answers.

Paste data on new rows doesn't work

5 Answers 92 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Stefania
Top achievements
Rank 2
Stefania asked on 26 Apr 2017, 01:49 PM

Hi,

on a grid setted as follow:

  SelectionMode = extended

  SelectionUnit = Mixed

  ClipboardPasteMode = AllSelectedCells, Cells, OverwriteWithEmptyValues

I have some trouble on paste date on new rows.

 

If you paste data on existing rows the event GridView_PastingCellClipboardContent is fired and all it works fine but

when you paste data to create new rows the event GridView_PastingCellClipboardContent doesn't fire.

 

I used the release R1 2017 SP1

How can I fix it?

Thank you

5 Answers, 1 is accepted

Sort by
0
Stefania
Top achievements
Rank 2
answered on 26 Apr 2017, 02:37 PM

I forgot to write that after pasting the data on the new rows the event GridView_PastingCellClipboardContent will never be fire anymore. Also if you paste the data on some existing rows

0
Martin
Telerik team
answered on 01 May 2017, 10:12 AM
Hello Stefania,

I have tested the scenario you described and everything works as expected. I am sending you the sample project I used for reproducing the case. Please take a look at it and let me know in case of any misunderstandings.

Regards,
Martin Vatev
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
0
Stefania
Top achievements
Rank 2
answered on 04 May 2017, 08:56 AM

Hi,

I just install the new version R2 2017 and I still have the same problem.

I'm trying to find out the difference between your demo and mine but I didn't find anything yet.

As shown on the attachment, after I paste new rows on the row header the selected row symbol (>) appear multiple times.

From now on the copy & paste works only if I copy a single cell and I paste it on a multiple selection of cells. All others combination doesn't work anymore.

 

Any suggestions?

Thank you

 

0
Martin
Telerik team
answered on 08 May 2017, 08:22 AM
Hello Stefania,

Unfortunately, without reproducing the issue on my side I cannot do much for you. I can only be guessing. For that reason, I would ask you to give a little more information about to set up of RadGridView or to modify the sample project that I sent you.

I am looking forward to your reply.

Regards,
Martin Vatev
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Stefania
Top achievements
Rank 2
answered on 12 May 2017, 08:37 AM

Hi,

Thanks for your reply.

I opened a support ticket and I attached a project that simulate the error.

 

Tags
GridView
Asked by
Stefania
Top achievements
Rank 2
Answers by
Stefania
Top achievements
Rank 2
Martin
Telerik team
Share this question
or