Missing compass after selecting 'Floating' in the dropdown menu

4 posts, 0 answers
  1. Jared Lowther
    Jared Lowther avatar
    4 posts
    Member since:
    Mar 2010

    Posted 18 Jun 2010 Link to this post

    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?
  2. George
    Admin
    George avatar
    1332 posts

    Posted 23 Jun 2010 Link to this post

    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
  3. DevCraft banner
  4. Jared Lowther
    Jared Lowther avatar
    4 posts
    Member since:
    Mar 2010

    Posted 23 Jun 2010 Link to this post

    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.
  5. George
    Admin
    George avatar
    1332 posts

    Posted 29 Jun 2010 Link to this post

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