if I place a Docking control in another Docking control i recive (only at runtime) this error:
"Placing Docking control in another Docking control is not supported in the current version. You can disable this error by setting the AllowUnsafeMode property of the inner RadDocking control."
When are you planning to implement and release this feature?
Thanks.
4 Answers, 1 is accepted
Unfortunately, this scenario is not supported. We have added this feature request in our Public Issue Tracking System (PITS). You can view it here. You can vote for it, track its status and see when it is going to be implemented.
Hope this information helps. If you have further questions please let us know.
Greetings,
Konstantina
the Telerik team
Hi Telerik Team,
I have error "Placing Docking control in another Docking control is not supported in the current version. You can disable this error by setting the AllowUnsafeMode property of the inner RadDocking control." when I am using version 2013 Q2.
I am using Telerik RadTabControl within Telerik RadDocking in WPF. There is no property AllowUnsafeMode on Telerik RadTabControl to avoid the error.
Appreciate your advice. Thanks.
System.NotSupportedException: Placing Docking control in another Docking control is not supported in the current version. You can disable this error by setting the AllowUnsafeMode property of the inner RadDocking control.
at Telerik.Windows.Controls.RadDocking.CheckIsPlacedCorrectly() in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\Docking\RadDocking.cs:line 1395
at Telerik.Windows.Controls.RadDocking.OnApplyTemplate() in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\Docking\RadDocking.cs:line 185
at System.Windows.FrameworkElement.ApplyTemplate()
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Border.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Hi Telerik Team,
I found the issue in my code. It does have a Telerik RadDocking within a Telerik RadDocking caused the issue. Workaround set AllowUnsafeMode = True.
If I upgrade my Telerik package, does it fix my issue without set AllowUnsafeMode = True?
In which version does the fix in?
Thanks.
Nested Docking scenarios are officially supported by RadDocking with the Q1 2014 release version. If you upgrade to that version there is no need to use the AllowUnsafeMode property. Some more detailed information you could find on the following link from our documentation:
http://docs.telerik.com/devtools/wpf/controls/raddocking/features/nesteddocking
Hope the provided information will be helpful for you.
Regards,
Nasko
Telerik by Progress