Docking Demo XAML

2 posts, 1 answers
  1. Matt Duffield
    Matt Duffield avatar
    7 posts
    Member since:
    Jul 2009

    Posted 16 Oct 2009 Link to this post

    I copied the XAML from your demo and pasted into a Silverlight 3 UserControl.  The screen comes up fine just without the images.  But if I try and unpin anything, the pane collapses but the tab is horizontal and not vertical.  Also, if I unpin the Server Explorer and then try and unpin the Toolbox I get the following error:

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)
    Timestamp: Fri, 16 Oct 2009 14:26:45 UTC

    Message: Unhandled Error in Silverlight Application 
    Code: 4004    
    Category: ManagedRuntimeError       
    Message: System.NullReferenceException: Object reference not set to an instance of an object.
       at Telerik.Windows.Controls.Docking.PaneHeader.OnPinButtonClick(Object sender, RoutedEventArgs e)
       at System.Windows.Controls.Primitives.ButtonBase.OnClick()
       at System.Windows.Controls.Button.OnClick()
       at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
       at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
       at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)     

    Line: 56
    Char: 13
    Code: 0
    URI: http://localhost:63370/ScreenDesignerTestPage.aspx

    I verified that my references are working correctly.  You have no code in the code-behind on your demo?  Am I missing something?  Do you not have any sample WORKING applications that use your controls that we can review?  What about your demos?  How about letting us download them?

    Please advise,

  2. Answer
    Kaloyan avatar
    920 posts

    Posted 20 Oct 2009 Link to this post

    Hi Matt Duffield,

    Sorry for the caused inconvenience. Can you try downloading the latest internal build and check if the exception is still appearing in your solution. If so we will appreciate sending us a small project with the described exception.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top