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

NullReferenceException

2 Answers 36 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 28 Mar 2011, 09:31 PM
Hi,

I've copy-pasted the following XAML from your online examples. When I run it, I get NullReferenceException at Telerik.Windows.Controls.RadPaneGroup.OnIsInDocumentHostChanged(Boolean oldValue, Boolean newValue). Any idea what I'm doing wrong?

Thanks!
Andrew

        <telerik:RadDocking x:Name="docking" Grid.Row="1">
            <telerik:RadDocking.DocumentHost>
                <telerik:RadSplitContainer>
                    <telerik:RadPaneGroup x:Name="radPaneGroup">
                        <TextBlock FontSize="32" Text="Hello!"></TextBlock>
                    </telerik:RadPaneGroup>
                </telerik:RadSplitContainer>
            </telerik:RadDocking.DocumentHost>
        </telerik:RadDocking>

   

2 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 29 Mar 2011, 09:49 AM
Hi Andrew,

 
Could you please let us know from which example is this code? We don't support placing other controls in a RadPaneGroup except the RadPane. I would suggest you to place the TextBlock control in a RadPane and the RadPane into the RadPaneGroup. For more information, please refer to our online documentation - http://www.telerik.com/help/silverlight/raddocking-getting-started2.html

Regards,
George
the Telerik team
0
Andrew
Top achievements
Rank 1
answered on 23 Apr 2011, 05:44 AM
Hi George,

Sorry, I don't remember where exactly I took it from. Thanks for the explanation, though!

Cheers,
Andrew
Tags
Docking
Asked by
Andrew
Top achievements
Rank 1
Answers by
George
Telerik team
Andrew
Top achievements
Rank 1
Share this question
or