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

Loading of XAML within RadDocking

5 Answers 81 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Raja
Top achievements
Rank 1
Raja asked on 15 Oct 2010, 07:58 PM
In the Docking.Silverlight example, following lines are present 

            <telerik:RadDocking.DocumentHost>
                <telerik:RadSplitContainer>
                    <telerik:RadPaneGroup>
                        <telerik:RadDocumentPane Header="Document 1" Title="Document 1" />
                    </telerik:RadPaneGroup>
                </telerik:RadSplitContainer>
            </telerik:RadDocking.DocumentHost>

Now instead of showing this RadDocumentPane, I want to place a TabControl or navigationframe where I want to show other XAML pages. How can I achieve that?

Thanks
-Raja

5 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 18 Oct 2010, 11:29 AM
Hi Raja,

Thank you for contacting us.

You can put the other controls in the Content of the RadDocumentPane:

<telerik:RadDocking.DocumentHost>                 
    <telerik:RadSplitContainer>        
       <telerik:RadPaneGroup>                         
         <telerik:RadDocumentPane Header="Document 1" Title="Document1"
           <telerik:RadDocumentPane.Content
            <!-- Put your content here -->
           </telerik:RadDocumentPane.Content
         </telerik:RadDocumentPane>                 
        </telerik:RadPaneGroup>                 
   </telerik:RadSplitContainer>             
</telerik:RadDocking.DocumentHost

You can check out also our online demo, in which this also it illustrated.

Please let us know if you have any other questions.

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
Raja
Top achievements
Rank 1
answered on 18 Oct 2010, 12:40 PM
 Thanks. It worked.

One more question: When I am setting the content of a seperate XML in RADPane, the new XAML file content is not appearing fully due to absence of Scrolling. The porting in the lower part and the right hand side are not coming fully. 

What will be the best place to put the Scrollviewer in order to enable scrolling on demand?

Thanks
Raja
0
Konstantina
Telerik team
answered on 19 Oct 2010, 10:45 AM
Hello Raja,

The ScrollViewer should be also in the DocumentPane. If you want to use the functionality (floating, pinning, etc) of the Pane all should be inside it as a Content.

Please let us know if you have any other inquiries.

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
Raja
Top achievements
Rank 1
answered on 20 Oct 2010, 08:18 PM
Thanks. I can open a new XAML page as the content. But I am facing problem with the scrolling. For some pages, it is allowing scrolling when it is not required and as a result, the content area is getting bigger. 

How I can resize a (XAML)page content within the DocumentPane.Content to fit correctly in browser? 

Thanks again
-Raja

0
Konstantina
Telerik team
answered on 25 Oct 2010, 11:48 AM
Hello Raja,

Please find attached a sample project in which is illustrated a possible way of achieving your goal.
In the project a ScrollViewer is added in the Page1.xaml and in it the content of the Page is put.
After that the Page is set as a Content of the DocumentPane.

Hope this is helpful. Please let us know if you have any other questions.

Sincerely yours,
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
Tags
General Discussions
Asked by
Raja
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Raja
Top achievements
Rank 1
Share this question
or