Hi,
After calling the method LoadLayout, the application returns the following error ...
Call :
MemoryStream memoryStream = new MemoryStream(Encoding.UTF8.GetBytes(layout));
radDocking.LoadLayout(memoryStream);
Error :
System.ArgumentException was caught
Message=Value does not fall within the expected range.
StackTrace:
em MS.Internal.XcpImports.CheckHResult(UInt32 hr)
em MS.Internal.XcpImports.Collection_InsertValue[T](PresentationFrameworkCollection`1 collection, UInt32 index, CValue value)
em MS.Internal.XcpImports.Collection_InsertDependencyObject[T](PresentationFrameworkCollection`1 collection, UInt32 index, DependencyObject value)
em System.Windows.PresentationFrameworkCollection`1.InsertDependencyObject(Int32 index, DependencyObject value)
em System.Windows.Controls.UIElementCollection.InsertInternal(Int32 index, UIElement value)
em System.Windows.PresentationFrameworkCollection`1.Insert(Int32 index, T value)
em Telerik.Windows.Controls.RadDocking.InitializeSplitContainer(RadSplitContainer container)
em Telerik.Windows.Controls.RadDocking.OnItemsChanged(NotifyCollectionChangedEventArgs e)
em System.Windows.Controls.ItemsControl.OnItemCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
em System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
em System.Windows.Controls.ItemCollection.NotifyCollectionChanged(NotifyCollectionChangedEventArgs e)
em System.Windows.Controls.ItemCollection.AddImpl(Object value)
em System.Windows.Controls.ItemCollection.AddInternal(Object value)
em System.Windows.PresentationFrameworkCollection`1.Add(T value)
em Telerik.Windows.Controls.RadDocking.AddSplitContainer(RadSplitContainer radSplitContainer)
em Telerik.Windows.Controls.Docking.DockingLayoutFactory.LoadDocking(XmlReader reader)
em Telerik.Windows.Controls.RadDocking.LoadLayout(Stream source, Boolean raiseEventsIfNoSerializationTag)
em Telerik.Windows.Controls.RadDocking.LoadLayout(Stream source)
em Bipper.Shell.ShellView.<>c__DisplayClass4.<LoadLayout>b__3()
InnerException:
Att,
Adriel Codeco
After calling the method LoadLayout, the application returns the following error ...
Call :
MemoryStream memoryStream = new MemoryStream(Encoding.UTF8.GetBytes(layout));
radDocking.LoadLayout(memoryStream);
Error :
System.ArgumentException was caught
Message=Value does not fall within the expected range.
StackTrace:
em MS.Internal.XcpImports.CheckHResult(UInt32 hr)
em MS.Internal.XcpImports.Collection_InsertValue[T](PresentationFrameworkCollection`1 collection, UInt32 index, CValue value)
em MS.Internal.XcpImports.Collection_InsertDependencyObject[T](PresentationFrameworkCollection`1 collection, UInt32 index, DependencyObject value)
em System.Windows.PresentationFrameworkCollection`1.InsertDependencyObject(Int32 index, DependencyObject value)
em System.Windows.Controls.UIElementCollection.InsertInternal(Int32 index, UIElement value)
em System.Windows.PresentationFrameworkCollection`1.Insert(Int32 index, T value)
em Telerik.Windows.Controls.RadDocking.InitializeSplitContainer(RadSplitContainer container)
em Telerik.Windows.Controls.RadDocking.OnItemsChanged(NotifyCollectionChangedEventArgs e)
em System.Windows.Controls.ItemsControl.OnItemCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
em System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
em System.Windows.Controls.ItemCollection.NotifyCollectionChanged(NotifyCollectionChangedEventArgs e)
em System.Windows.Controls.ItemCollection.AddImpl(Object value)
em System.Windows.Controls.ItemCollection.AddInternal(Object value)
em System.Windows.PresentationFrameworkCollection`1.Add(T value)
em Telerik.Windows.Controls.RadDocking.AddSplitContainer(RadSplitContainer radSplitContainer)
em Telerik.Windows.Controls.Docking.DockingLayoutFactory.LoadDocking(XmlReader reader)
em Telerik.Windows.Controls.RadDocking.LoadLayout(Stream source, Boolean raiseEventsIfNoSerializationTag)
em Telerik.Windows.Controls.RadDocking.LoadLayout(Stream source)
em Bipper.Shell.ShellView.<>c__DisplayClass4.<LoadLayout>b__3()
InnerException:
Att,
Adriel Codeco