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

Setting Floating in radpane

12 Answers 206 Views
Docking
This is a migrated thread and some comments may be shown as answers.
ABECON Groep BV
Top achievements
Rank 1
ABECON Groep BV asked on 20 May 2010, 01:49 PM
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



12 Answers, 1 is accepted

Sort by
0
Accepted
Konstantina
Telerik team
answered on 24 May 2010, 01:31 PM
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.
0
ABECON Groep BV
Top achievements
Rank 1
answered on 25 May 2010, 10:21 AM
Thanks for your answer this helps me a lot.
0
kalyan
Top achievements
Rank 2
answered on 04 Jun 2010, 09:06 AM
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

0
Konstantina
Telerik team
answered on 09 Jun 2010, 03:43 PM
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.
0
kalyan
Top achievements
Rank 2
answered on 10 Jun 2010, 06:22 AM
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
0
Denis Vuyka
Top achievements
Rank 1
answered on 11 Jun 2010, 04:04 PM
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?
0
Konstantina
Telerik team
answered on 14 Jun 2010, 03:19 PM
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.
0
Mayra
Top achievements
Rank 1
answered on 22 Oct 2011, 07:46 AM
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,
0
Konstantina
Telerik team
answered on 26 Oct 2011, 08:58 AM
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 >>
0
Matthew
Top achievements
Rank 1
answered on 02 Dec 2011, 06:04 AM
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
0
Konstantina
Telerik team
answered on 02 Dec 2011, 05:42 PM
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 >>
0
Matthew
Top achievements
Rank 1
answered on 06 Dec 2011, 03:19 AM
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
Tags
Docking
Asked by
ABECON Groep BV
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
ABECON Groep BV
Top achievements
Rank 1
kalyan
Top achievements
Rank 2
Denis Vuyka
Top achievements
Rank 1
Mayra
Top achievements
Rank 1
Matthew
Top achievements
Rank 1
Share this question
or