Example: ListBox/TreeView/GridView/ScheduleView drag-drop, reorder items and more.

1 posts, 0 answers
  1. Valeri Hristov
    Valeri Hristov avatar
    40 posts
    Member since:
    Dec 2003

    Posted 22 Nov 2011 Link to this post

    Hello everyone,

    In the past months we created a few behaviors that should ease your life when developing drag-drop functionality in Telerik RadControls for Silverlight and WPF. We tried to cover the most common scenarios - drag-drop between controls, reorder items within a control, drag visual customization and data conversion. The behaviors were designed to work with the standard ListBox, RadScheduleView, RadTreeView and RadGridView.

    The drag-drop behaviors are still work in progress and we could make small changes to the API, so will greatly appreciate if you try them and drop us a line about your experience. We will do our best to provide bugfixes as soon as possible, and also consider all feature requests that you send.

    A few words about the behaviors: the main idea is to hide the drag-drop events usage and provide simple and clean API that allows you to easily manipulate the dragged data. You can find more information here and in the related articles:

    An online demo demonstrating drag-drop between RadScheduleView and a standard ListBox can be found here:

    Attached is a simple application that demonstrates the basic features of the GridView and the TreeView behaviors.

    Valeri Hristov
Back to Top