Can't Drop to RadGridView Header Row

3 posts, 0 answers
  1. Michal
    Michal avatar
    11 posts
    Member since:
    Jul 2014

    Posted 08 Dec 2014 Link to this post

    Hi,

    I'm trying to drop to header row of RadGridView, but DragDropManager.DropHandler is not executed. Also DragVisual shows picture, that is not possible to drop to header row of RadGridView. I guess RadGridView catches all drop events and handles them internally, because of Column Reorder feature.

    I there a way to somehow override default behavior of RadGridView and catch drop events to header row?

    I attached screenshot and sample c# project.

    http://1drv.ms/1qknccu

  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 09 Dec 2014 Link to this post

    Hi,

    Please note that in order to get events that are handled internally raised, you should subscribe for the respective event handlers specifying the last
    HandledEventsToo parameter to True.

    For example:

    private void SubscribeToDragDropEvents()
    {
        DragDropManager.AddDropHandler(this.AssociatedObject, OnDrop, true);
           ...
    }

    Hopefully, this helps.

    Regards,
    Dimitrina
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Michal
    Michal avatar
    11 posts
    Member since:
    Jul 2014

    Posted 11 Dec 2014 in reply to Dimitrina Link to this post

    Hi
    I found a solution for this in my other thread.

    http://www.telerik.com/forums/drag-and-drop-to-radgridview-header-row
Back to Top