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

Toolbox as tool window

3 Answers 120 Views
Diagram, DiagramRibbonBar, DiagramToolBox
This is a migrated thread and some comments may be shown as answers.
Tino
Top achievements
Rank 1
Tino asked on 04 Sep 2017, 01:37 AM

Is it possible to have a Toolbox in a RadDock tool window, and (obviously) be useable with a RadDiagram? How would I do this? I tried several things with limited results.

Thanks.

3 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 04 Sep 2017, 09:25 AM
Hello Tino, 

Thank you for writing.  

RadDiagramToolbox is a derivative of RadListView and like every other RadControl can be used in RadDock's ToolWindow. I have prepared a sample project for your reference. Please refer to the attached gif file illustrating the behavior on my end. 

If you are still experiencing any further difficulties, could you please specify the exact steps how to reproduce the problem? Alternatively, feel free to submit a support ticket where you can provide a sample project demonstrating the problem you are facing. Thus, we would be able to investigate the precise case and assist you further. Thank you in advance. 

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Tino
Top achievements
Rank 1
answered on 11 Sep 2017, 11:28 PM

Thanks. I did actually have it displaying in a tool window, but I wasn't sure how to associate a toolbox with a particular diagram.

So I have a 'Main' window, which has a RadDock and some tool windows, and I had a RadForm per diagram, with its own toolbox dropped on the form. Now I realize that's bad, and my Diagram 'container' form needs to have its own RadDock, and a Document window for each form (which contains a RadDiagram). That way the one toolbox will work for every diagram.

Is my last statement correct? Thanks.

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 13 Sep 2017, 09:42 AM
Hello Tino, 

Thank you for writing back. 

RadDiagramToolbox introduces a set of shapes that can be dragged to a RadDiagram. It can't be associated with a specific RadDiagram. It can be used with any RadDiagram on the form.

Note that RadDiagramToolbox is a derivative of RadListView. If you need to restrict somehow the drag and drop behavior, you can customize the ListViewDragDropService. Additional information for the service is available in the following help articles: 
http://docs.telerik.com/devtools/winforms/listview/drag-and-drop/listviewdragdropservice
http://docs.telerik.com/devtools/winforms/listview/drag-and-drop/drag-and-drop-using-raddragdropservice

I hope this information helps. If you have any additional questions, please let me know. 

 Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Diagram, DiagramRibbonBar, DiagramToolBox
Asked by
Tino
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Tino
Top achievements
Rank 1
Share this question
or