Hi all I'm a newbie to Telerik's controls (had used MS ChildWindow) so be kind!
I have declared a RadWindow inside a Grid i n XAML.
It displays as expected - but if I try to move/resize it I get the following error:
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.RadWindow.OnThumbDragStarted(Object sender, DragStartedEventArgs e) at System.Windows.Controls.Primitives.Thumb.OnMouseLeftButtonDown(MouseButtonEventArgs e) at System.Windows.Controls.Control.OnMouseLeftButtonDown(Control ctrl, EventArgs e) at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Then the window disappears.
Strangely, if I run it from Blend I get an extra error about RadWindowManager.BringToFront but the window stays visible.
I know you don't advocate static declaration of Windows but is this a bug or is moving resizing such windows unsupported.
Why do you advise against declaration in XAML? You say that the window is not part of the VisualTree?
I understand that in WPF each window has it's own separate VisualTree... but does why can't Windows be hosted in panels?
You use static declartion in your help:
ms-help://telerik.windows.controls.silverlight/telerik.windows.controls.window/radwindow-behavior-properties.html
I suppose my request is for general guidance.
I've been using MVVM a lot and I like it... I don't like the idea of having to go to use code-behind to instantiate/show/positionwindows.
Thanks and I like your controls great feature set!
I have declared a RadWindow inside a Grid i n XAML.
It displays as expected - but if I try to move/resize it I get the following error:
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.RadWindow.OnThumbDragStarted(Object sender, DragStartedEventArgs e) at System.Windows.Controls.Primitives.Thumb.OnMouseLeftButtonDown(MouseButtonEventArgs e) at System.Windows.Controls.Control.OnMouseLeftButtonDown(Control ctrl, EventArgs e) at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Then the window disappears.
Strangely, if I run it from Blend I get an extra error about RadWindowManager.BringToFront but the window stays visible.
I know you don't advocate static declaration of Windows but is this a bug or is moving resizing such windows unsupported.
Why do you advise against declaration in XAML? You say that the window is not part of the VisualTree?
I understand that in WPF each window has it's own separate VisualTree... but does why can't Windows be hosted in panels?
You use static declartion in your help:
ms-help://telerik.windows.controls.silverlight/telerik.windows.controls.window/radwindow-behavior-properties.html
I suppose my request is for general guidance.
I've been using MVVM a lot and I like it... I don't like the idea of having to go to use code-behind to instantiate/show/positionwindows.
Thanks and I like your controls great feature set!