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

Missing compass after selecting 'Floating' in the dropdown menu

3 Answers 31 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Jared Lowther
Top achievements
Rank 1
Jared Lowther asked on 18 Jun 2010, 09:41 PM
This is behavior reproducible in the Q1 2010 controls and even in the samples provided:

If I click and drag a pane away from its original panegroup/radsplitcontainer I see compasses and root compasses showing when dragging the toolwindow (container of the pane) around.   If I choose I can leave the pane 'floating' in its toolwindow.

However, when I use the menu option on a pane to make the pane 'Floating' the opportunity to use the compasses (and essentially the ability to re-dock) seems to be removed altogether.  This may be by design and if so I think it is a very confusing design. If two methods to create an identical floating pane result in unexpected behavior, then I suggest the design be changed.

That being said, if this is by design what is the method of reintroducing the floating toolwindow to the home RadDocking object so as to be able to dock once again?

3 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 23 Jun 2010, 12:03 PM
Hello Jared Lowther,

Thank you for contacting us.

When you choose from the menu of the Pane the option "Floating" this sets its position as "FloatingOnly", which means it cannot be docked anymore. If you drag it, the position of the Pane is "FloatingDockable". The same behaviour has the Docking control of Visual Studio.
How to remove the menu from the Pane you can find guidance in this help article.

Please let us know if you need further assistance.


Best wishes,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jared Lowther
Top achievements
Rank 1
answered on 23 Jun 2010, 02:54 PM
Thank you for your reply.  I discovered the solution soon after I posted.

I wanted to keep the menu as 'Floating' and the other options are pertinent to the application.  During the pane's load event (during undocking) I call the 'MakeFloatingDockable' method and am able to redock the pane again.

I still wanted to put my 2 cents on the matter again, however.  It is strange that any developer who wants to be able to use the default menu would be forced to call the MakeFloatingDockable() for each and every pane's load event.  I believe that most developers would agree that any pane that is docked should have the opportunity to be redocked despite the end-user's choices/mistakes.
0
George
Telerik team
answered on 29 Jun 2010, 08:55 AM
Hi Jared Lowther,

Thank you for contacting us. Sorry for our late reply.

When you make a window "Floating", you can always open the menu on the floated window using right mouse click and choose "Dockable". 

If you want to implement some custom logic, you can change the first item of the menu and make the floated window dockable instead of floating-only. Changing the menu is a better way than using MakeFloatingDockable method during the pane's load event.

Please let me know if this information helps. I will be glad to assist you further.

All the best,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Docking
Asked by
Jared Lowther
Top achievements
Rank 1
Answers by
George
Telerik team
Jared Lowther
Top achievements
Rank 1
Share this question
or