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

RadPaneGroup Error

1 Answer 45 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 15 Nov 2010, 10:38 PM
Hello,

I am working with v2010.3 1110 inside Expression Blend

I placed a RadDockPanel on a form and am trying to add a RadPanel.  I receive the following error:

"Cannot add content to an object of type "RadPanelGroup"

This error only occurs inside the XAML designer, which tells me "Invalid XAML".  However, the app runs without an error

Please find an example of the XAML below:

 <telerik:RadDocking
   x:Name="Docking"
   BorderBrush="White"
   BorderThickness="2"
   Margin="5"
   Background="{x:Null}">
   
   <telerik:RadDocking.DocumentHost>
    <telerik:RadSplitContainer>
     <telerik:RadPaneGroup>
    
        (Error occurs here...)
      <telerik:RadPane Header="Test 1">
       <TextBlock TextWrapping="Wrap"
        Text="A test for the docking panel"></TextBlock>
      </telerik:RadPane>

        (and again here..)
      <telerik:RadPane Header="Description" CanFloat="False">
      </telerik:RadPane>

     </telerik:RadPaneGroup>
    </telerik:RadSplitContainer>
   </telerik:RadDocking.DocumentHost>

 </telerik:RadDocking>


any idea what is wrong here.. I'm follow an example that Telerik published on the website.

Thanks,
Mar

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 18 Nov 2010, 01:58 PM
Hello Mark,

Could you please try to clean and rebuild the application. Let me know if you still have any problems with RadDocking control. 

Greetings,
George
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
Docking
Asked by
Mark
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or