Hi,
I have a problem with RadTabControl. I have a TabControl inside a RadDocking control and I have
When I first open the window everything goes well, but when I Close() the Window and try to open it again I receive an exception when I call UpdateLayout() method for the window.
Value does not fall within the expected range.
at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
at MS.Internal.XcpImports.UIElement_UpdateLayout(UIElement element)
at System.Windows.UIElement.UpdateLayout()
at DMSInterface.Views.ManageBOLayoutControl.ManageBOLayoutWindow_IsEnabledChanged(Object sender, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyPropertyChangedEventHandler.Invoke(Object sender, DependencyPropertyChangedEventArgs e)
at System.Windows.Controls.Control.OnIsEnabledChanged(Control control, EventArgs args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Do you have an idea to solve this?
Thank you,
Vlad
I have a problem with RadTabControl. I have a TabControl inside a RadDocking control and I have
VerticalContentAlignment
="Stretch" HorizontalContentAlignment="Stretch"
properties for TabControl. The TabControlItems are built programmatically. All is put inside a RadWindow.
When I first open the window everything goes well, but when I Close() the Window and try to open it again I receive an exception when I call UpdateLayout() method for the window.
Value does not fall within the expected range.
at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
at MS.Internal.XcpImports.UIElement_UpdateLayout(UIElement element)
at System.Windows.UIElement.UpdateLayout()
at DMSInterface.Views.ManageBOLayoutControl.ManageBOLayoutWindow_IsEnabledChanged(Object sender, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyPropertyChangedEventHandler.Invoke(Object sender, DependencyPropertyChangedEventArgs e)
at System.Windows.Controls.Control.OnIsEnabledChanged(Control control, EventArgs args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Do you have an idea to solve this?
Thank you,
Vlad