How to Enable copy functionality

2 posts, 0 answers
  1. Prabakaran
    Prabakaran avatar
    14 posts
    Member since:
    Feb 2015

    Posted 23 Mar 2016 Link to this post

    Dear Team,

    we need to enable copy functionality for our WPF application especially for radgridview. How could i enable this? As per my understanding To enable cell copy i've to do like ClipboardCopyMode="Cell" and SelectionUnit="Cell". If i apply this then row selection is not working because i am using row SelectionChanged event in order to do some operation.

    <telerik:RadGridView x:Name="gvDefaultDashboard"
                                         ItemsSource="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.GetPagedInfo,Mode=TwoWay}"
                                         telerik:PersistenceManager.StorageId="{Binding DashBoardPersistenceID,Mode=TwoWay}" ClipboardCopyMode="Cells" SelectionUnit="Cell">

    I want to enable cell copy without affection the row selectionchanged event how could i achieve this. Please advice.

    Thank you.

  2. Stefan
    Stefan avatar
    1073 posts

    Posted 25 Mar 2016 Link to this post

    Hello Prabakaran,

    In such scenario, you can use the CurrentCellChanged event that RadGridView provides. You can take a look at the events Overview topic for further reference.

    Can you please give it a try and let me know whether it corresponds to your needs?

    Stefan X1
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top