This is a migrated thread and some comments may be shown as answers.

How to reorder the items within a ToolBar with Drag&Drop

2 Answers 121 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Ivan
Top achievements
Rank 1
Ivan asked on 02 Jan 2014, 03:31 PM
Hello,

i have only one ToolBar in my View and some items in it. The task is to reorder the items with Drag&Drop function.
Unfortunately i can not found a attribute of RadToolBar to implement it. With telerik DragDropManager works the ToolBar-reorder neither.

Have i missed something or it is no easy to implement it?

Any help will be thankful.

Ivan

2 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 03 Jan 2014, 01:42 PM
Hi Yifan,

Unfortunately, the RadToolBar doesn't support drag and drop reordering of its items out of the box. However, you can accomplish drag and drop by using the DragDropManager as you mentioned earlier.

I attached a sample project to demonstrate a basic implementation.

I hope this could be a good starting point.

Regards,
Martin Ivanov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Ivan
Top achievements
Rank 1
answered on 03 Jan 2014, 01:48 PM
Hi Martin,

thanks for your answer. That looks fine. I will try it in my project. Thanks a lot !

Regards,
Ivan
Tags
ToolBar
Asked by
Ivan
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Ivan
Top achievements
Rank 1
Share this question
or