We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

[Newbie] Floating toolbars

Thread ID:

Created:

Updated:

Platform:

Replies:

111208 Sep 12,2013 12:00 PM UTC Sep 18,2013 11:16 AM UTC WinForms 1
loading
Tags: Tools
Paul Meems
Asked On September 12, 2013 12:00 PM UTC

I'm new to the Syncfusion component and I've been playing with it for a few days now.
It is working very good.
We want to rebuild the GUI of our existing application. This application is written in .NETv3.5 using VS2008.
For the new GUI we want to use Syncfusion components and VS2012 (.NETv4.5).
See attachment for a screenshot of the old GUI.

I've been playing with the docking manager and a docking panel and I got that part working (the legend and the big white part, which is the map).
Now I'm trying with the toolbars. The old GUI has serious problems with the toolbars. We have multiple toolstrips on top and their location is on every load random. We've tried a lot but can't make the toolstrips be in the same order as the previous session. The toolstrip on the right is located correctly, but only because it is just 1 strip.

How would I do this using Syncfusion controls? I tried using ToolStripEx, but then I can't move the toolstrip around.

So my question is (finally ;)).
How to add multiple toolstrips that can me moved around by the user and also can be made floating? And the important part: how to save the locations/settings of the toolstrips?

Thanks,
Paul



MapWindowoldGUI_48b52cb9.zip

Kannan R [Syncfusion]
Replied On September 18, 2013 11:16 AM UTC

Hi Paul,

 

Thanks for your interests in Syncfusion Products.

 

Query

Comments

How to add multiple toolstrips that can me moved around by the user and also can be made floating

Please find the steps in below to add ToolstripEx to Docking Manager.

 

Step1: Select ToolStripEx and Docking Manager from Tool Box and drop it form.

 

Step 2: Once DockingManager is dropped to Form, ToolStripEx will have Enable Docking in Docking Manager property.

 

Step 3: Set Enable Docking in Docking Manager as true in ToolStripEx.

 

Step 4: ToolStripEx will be added as Docking window with Docking Manager.

 

Step 5: Once this ToolstripEx is dragged and dropped out of Form, it will be in floating state.

 

And the important part: how to save the locations/settings of the toolstrips?

Please make use of SaveDockState() function to save child windows dockstate.

 

And LoadDockState() function to apply saved dockstate to docking manager child windows.

 

Please find the code snippet in below for reference.

 

Code Snippet:[C#]

 

//save DockState

this.dockingManager1.SaveDockState();

 

//Load DockState

this.dockingManager1.LoadDockState();

 

 

We have also prepared sample that tries to meet your requirement. and it can be downloaded from below location.

 

Sample Location: DockStates.zip

 

Note:

In this application, Docking manager dockstate can saved and applied using save and load button.

 

 

Please let us know if you have any concerns,

 

Regards,

Kannan.R


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;