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

Use of RadDocking

3 Answers 98 Views
Docking
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ranish
Top achievements
Rank 1
Ranish asked on 29 Jun 2011, 09:47 AM

Hi

I am a beginner in both Silverlight and telerik rad controls for silver light.

I am working on a silver light Navigation application. I have a user control called UserControl1.Xaml. in this control we have an  edit Section on the right top side, the section contains two text boxes and one combo box. I have implemented this edit functionality. As per new requirement, we need convert  edit stack panel  tab on a separate docking tab, so an user can set the position of Edit Panel.

We have MainPage1.Xaml, Page1.Xaml and UserControl1.Xaml files. The User control is placed in Page1.Xaml .  Page1.xaml is currently loading to MainPage1.xaml as a content frame.

We need Docking control for all sites as the default layout container. So where should I Place telerik:RadDocking, telerik:RadDocking.DocumentHost, telerik:RadSplitContainer

, telerik:RadPaneGroup , telerik:RadPane.

First I have tried to place telerik:RadDocking in MainPage.Xaml.  But the Edit panel  in user control seems to in wrong position. So at last I placed above all control in user control itself. Then this page seems to working.

 

Can we use multiple  RadDocking?  When I used RadDocking in Mainpage.xaml and Usercontrol1.Xaml them I am getting error

 

Please suggest whether I am on the right direction or not?.

Thanks in advance
Regards,
Ranish

 

 

3 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 01 Jul 2011, 08:03 AM
Hi Ranish,

 The Docking control doesn't support nesting, so you cannot place a Docking control in the MainPage and to load another one in Page1 and place it inside the first Docking control. You could place multiple Docking controls in different pages and load them all in the main page. If you could provide us more detailed information about the goal you want to achieve we could provide you with more concrete suggestion how to achieve it, because the approach to be used depends on what you need to achieve.

Here is a suggestion that should work for the most common scenarios:
- Place the frame with the main navigation in the MainPage.xaml
- Create different user controls for all your widgets/views
- In each page which has complex tools place a different docking controls and arrange the tools you need in these docking controls

This way the only code that will be repeated multiple times is the Docking control declaration, but in most of the time this is needed as you need different widgets or different layout.

Hope this helps.

Regards,
Miroslav Nedyalkov
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
Erik Damgaard
Top achievements
Rank 1
answered on 19 Oct 2012, 11:45 AM
Hi 

Will you please suggest me how could i place multiple Docking controls in different pages and load them all in the main page with some sort of code or Demo project.i have face some problems.
Thanks in advance
0
Yana
Telerik team
answered on 24 Oct 2012, 07:57 AM
Hi Erik,

I am afraid we do not have such an example at hand.  We will consider creating one, but at the moment we cannot commit to any timeframe for this.

If you could tell us more details about your project and the problems, you're experiencing, we will be glad to help. Thanks in advance.

Kind regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Docking
Asked by
Ranish
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Erik Damgaard
Top achievements
Rank 1
Yana
Telerik team
Share this question
or