NullReferenceException

3 posts, 0 answers
  1. Andrew
    Andrew avatar
    29 posts
    Member since:
    Oct 2010

    Posted 28 Mar 2011 Link to this post

    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. George
    Admin
    George avatar
    1332 posts

    Posted 29 Mar 2011 Link to this post

    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
  3. Andrew
    Andrew avatar
    29 posts
    Member since:
    Oct 2010

    Posted 23 Apr 2011 Link to this post

    Hi George,

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

    Cheers,
    Andrew
Back to Top