Dragging from RadDropDownList within ribbon bar

2 posts, 0 answers
  1. Toby
    Toby avatar
    8 posts
    Member since:
    Oct 2017

    Posted 20 Nov 2017 Link to this post



    I have a RadDropDownList as part of my ribbon bar, is it possible to drag (then drop) the selected item onto another control ?

    I have done this before using a RadListControl (and RadListDataItems) on a form which has a MouseMove handler, however the  RadDropDownList control in the ribbon bar does not have a mouse move handler.

    In the ribbon bar mouse down handler, I have tried using

    RadDropDownListEditableAreaElement b = radRibbonBar1.ElementTree.GetElementAtPoint(e.Location) as RadDropDownListEditableAreaElement;

    but how do I get a reference to the original RadListDataItem which has some data in the Value and Tag fields ?




  2. Dimitar
    Dimitar avatar
    2960 posts

    Posted 21 Nov 2017 Link to this post

    Hello Toby,

    I have attached a small example that shows how this can be implemented using OLE drag-drop. 

    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top