Toolbox as tool window

4 posts, 0 answers
  1. Tino
    Tino avatar
    37 posts
    Member since:
    Jul 2017

    Posted 03 Sep Link to this post

    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.

  2. Dess
    Admin
    Dess avatar
    2107 posts

    Posted 04 Sep Link to this post

    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.
  3. Tino
    Tino avatar
    37 posts
    Member since:
    Jul 2017

    Posted 11 Sep in reply to Dess Link to this post

    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.

  4. Dess
    Admin
    Dess avatar
    2107 posts

    Posted 13 Sep Link to this post

    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.
Back to Top