Setting Floating in radpane

13 posts, 1 answers
  1. ABECON Groep BV
    ABECON Groep BV avatar
    28 posts
    Member since:
    Apr 2007

    Posted 20 May 2010 Link to this post

    Hello,

    We got a little problem with a radpane. When we set it to float we can't dock it anymore.
    But when we drag/drop the pane and let it float, the radpane Is dockable when we drag it. This is how we want it to work.

    Is there a way to turn of only the menu?

    Greetings
    Marcel de Groot
    Abecon



  2. Answer
    Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 24 May 2010 Link to this post

    Hi Marcel de Groot,

    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.

    Greetings,
    Konstantina
    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. ABECON Groep BV
    ABECON Groep BV avatar
    28 posts
    Member since:
    Apr 2007

    Posted 25 May 2010 Link to this post

    Thanks for your answer this helps me a lot.
  5. kalyan
    kalyan avatar
    38 posts
    Member since:
    Jul 2008

    Posted 04 Jun 2010 Link to this post

    Konstantina ,
    When the RadPane is in Floating position, the HeaderTemplate disappears. When it is in Floating position the user will be unable to dock it any where. Can i put a Toggle button that will open the default context menu of the RadPane and thus the user will be able to make the RadPane dockable.Please let me know how can i achieve this ?

    Kalyan

  6. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 09 Jun 2010 Link to this post

    Hello kalyan,

    To keep the HeaderTemplate of the Pane when it is floating you will have to set also the TitleTemplate. If you right-click the header of the ToolWindow the ContextMenu with the Commands will appear.

    If you have further questions please let us know.

    Regards,
    Konstantina
    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.
  7. kalyan
    kalyan avatar
    38 posts
    Member since:
    Jul 2008

    Posted 10 Jun 2010 Link to this post

    Hello Konstantina ,

    I created a DataTemplate for the TitleTemplate of the RadPane control. But  i think the context menu and the other functionalities are disabled  when the RadPane is in "FloatingOnly" and "FloatingDocakble" states respectively  . Can you please clear my doubt over this .Because i need to open the context menu by clicking the menu button.Pleasse let me know if this is possible or not. 

    best regards

    Kalyan
  8. Denis Vuyka
    Denis Vuyka avatar
    39 posts
    Member since:
    Oct 2009

    Posted 11 Jun 2010 Link to this post

    I need the consistent and user-friendly look for the floating pane. I assume that user has to see the very same title area he used to click when making pane floatable. It is absolutely not obvious that a context menu should be clicked. Any suggestions to do that easily without changing tones of styles/templates?
  9. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 14 Jun 2010 Link to this post

    Hello guys,

    We agree that the Pane should have a menu button when it is in Floating state. I have added this request in PITS. You can track its status and vote for it here. Could you please share with us how exactly do you think the Title of the Pane should look like, so that we can make it as practicable as possible.
    The only thing that you can do to add a button easy is to add it in the TitleTemplate, but when the Pane is pinned there will be 2 such buttons.

    If you have any other concerns about our controls please feel free to contact us again.

    Kind regards,
    Konstantina
    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.
  10. Mayra
    Mayra avatar
    18 posts
    Member since:
    Oct 2011

    Posted 22 Oct 2011 Link to this post

    I have added 3 buttom to the panel header ( dockable, float and tabbedDocument). Why doackable and tabbedDocument buttons are disable when the panel in floating?

    I look forward to hear back.

    Regards,
  11. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 26 Oct 2011 Link to this post

    Hello Mayra,

    Our commands work only in RadPaneGroup. That is why when the pane is in ToolWindow the buttons are disabled. In order to make it work you need to handle the commands manually. Attached I am sending you a sample project in which is illustrated how to create a custom command. Instead, you need to handle the commands for the floating, tabbing and docking panes.

    Hope this helps.

    Greetings,
    Konstantina
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  12. Matthew
    Matthew avatar
    8 posts
    Member since:
    Oct 2010

    Posted 02 Dec 2011 Link to this post

    Hi,

    This is an excellent example.  Can you send the Silverlight equivilant (instead of WPF)?

    Basically, I am trying to dock a floating ToolWindow. I am trying to do this by right-clicking the title bar of the tool window. However, instead of getting the telerik context menu (floating, dockable, tabbed document), I am getting the (standard) Silverlight context menu.  Is there someway I can enable this in silverlight?

    Thanks,

    Matt
  13. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 02 Dec 2011 Link to this post

    Hello Matthew,

    Could you please share more information about the application, how exactly you are creating and setting the commands and where? If you send us a sample application it will be very helpful for providing you with the best solution for your case. Since in Silverlight there are no RoutedCommands you can use the CommandManager to register the commands to the ToolWindows. Also, if you set a Background on the Grid in the DataTemplate of the Header the RadContextMenu will start to appear.

    Greetings,
    Konstantina
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  14. Matthew
    Matthew avatar
    8 posts
    Member since:
    Oct 2010

    Posted 05 Dec 2011 Link to this post

    Hi Konstantina,

    I was programmatically creating the RadPane.  Once I set a Background, the ContextMenu appears upon right-click. Thanks for the tip.

    Cheers,

    Matt
Back to Top
DevCraft banner