Is there in option in radcontextmenu as duplicate option? where it duplicates the row n number of times? For example radcontextmenu providing duplicate option and dupicate option in turn again provide options of numbers as how many rows to duplicate? Any help would be much appreciated.
3 Answers, 1 is accepted
0
Martin Ivanov
Telerik team
answered on 18 Jun 2018, 12:36 PM
Hello Babitha,
The gridview doesn't provide such option out of the box. However, you can implement this with some custom code. Basically, you can add context menu as shown in the following article. And then you can manually find the item you want to duplicate, copy it (create new instance and set its properties) and insert it in the ItemsSource collection of RadGridView.
As a side note, I saw that there is a forum that duplicates this one. I removed it so that we can keep this topic in a single thread.
Regards,
Martin Ivanov
Progress Telerik
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.
I attached a small example showing a possible approach. I hope that helps.
Regards,
Martin Ivanov
Progress Telerik
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.