Hi there,
I've just upgraded from SL2 to SL3, using the preview version 3 of the Telerik contols. Since, any RadWindow (even empty ones) I put inside a xaml crashes the application on any click anywhere inside the window when I instantiate it using:
The debugger output is:
Using the same window adding
OR
wndLogin.Show();
after the window has loaded makes it behave normally.
Any ideas about what I'm missing?
I've just upgraded from SL2 to SL3, using the preview version 3 of the Telerik contols. Since, any RadWindow (even empty ones) I put inside a xaml crashes the application on any click anywhere inside the window when I instantiate it using:
this.RootVisual = new LoginWindow(); |
ManagedRuntimeError error #4004 in control 'Xaml1': |
System.NullReferenceException: Der Objektverweis wurde nicht auf eine |
Objektinstanz festgelegt. |
bei Telerik.Windows.Controls.RadWindowManager.BringToFront(RadWindow window) |
bei Telerik.Windows.Controls.RadWindow.BringToFront() |
bei Telerik.Windows.Controls.RadWindow.OnGotFocus(RoutedEventArgs e) |
bei System.Windows.Controls.Control.OnGotFocus(Control ctrl, EventArgs e) |
bei MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName) |
Using the same window adding
wndLogin.ShowDialog(); |
OR
wndLogin.Show();
Any ideas about what I'm missing?