Use of RadDocking

4 posts, 0 answers
  1. Ranish
    Ranish avatar
    1 posts
    Member since:
    Jun 2012

    Posted 29 Jun 2011 Link to this post

    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

     

     

  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 01 Jul 2011 Link to this post

    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
  3. DevCraft banner
  4. Erik Damgaard
    Erik Damgaard avatar
    28 posts
    Member since:
    May 2010

    Posted 19 Oct 2012 Link to this post

    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
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 24 Oct 2012 Link to this post

    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.

Back to Top