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

Docking Demo XAML

1 Answer 74 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Matt Duffield
Top achievements
Rank 1
Matt Duffield asked on 16 Oct 2009, 02:17 PM
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,

Matt

1 Answer, 1 is accepted

Sort by
0
Accepted
Kaloyan
Telerik team
answered on 20 Oct 2009, 09:24 AM
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,
Kaloyan
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.
Tags
Docking
Asked by
Matt Duffield
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or