We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DockingManager "Index was out of range..." exception

Thread ID:





57075 Feb 26,2007 07:27 AM UTC Mar 1,2007 02:21 PM UTC WinForms 3
Tags: Tools
Dimitar Milov
Asked On February 26, 2007 07:27 AM UTC

I've upgrade my syncfusion from to and in all UserControls that i have dockingmanager arise the following eception:

"Insertion index was out of range. Must be non-negative and less than or equal to size.\r\nParameter name: index"

CallStack :

at System.Collections.ArrayList.Insert(Int32 index, Object value)
at Syncfusion.Windows.Forms.Tools.SizingController.InsertChild(DockControllerBase dc, Int32 index, DockingStyle db)
at Syncfusion.Windows.Forms.Tools.SizingController.AddChild(DockControllerBase dcinternal, DockingStyle db)
at Syncfusion.Windows.Forms.Tools.DockingManager.DockToFormController(DockStateControllerBase ctrl)
at Syncfusion.Windows.Forms.Tools.MainFormController.InvokeDocking(DockControllerBase dc)
at Syncfusion.Windows.Forms.Tools.DockingManager.InternalDockControl(Control ctrl, DockControllerBase dcbparent, DockingStyle dockstyle, Int32 nsize)
at Syncfusion.Windows.Forms.Tools.DockingManager.DockControl(Control ctrl, Control parent, DockingStyle dockstyle, Int32 nsize, Boolean tabGroup)
at Syncfusion.Windows.Forms.Tools.DockingManager.DockControl(Control ctrl, Control parent, DockingStyle dockstyle, Int32 nsize)

It happens within constructor of the UserControl when I call DockingManager.DockControl. With the old Syncfusion version ( everything works fine.

Do you have some idea what is the reasen?

Golda Rebecal [Syncfusion]
Replied On February 26, 2007 02:28 PM UTC

Hi Dimitar,

I am afraid that I am not able to reproduce the issue with the attached sample in Essential Studio version

Please try running the above sample. If still the issue exists, kindly try reproducing it with this sample and send it back to me so that it would help me to find out the cause of the issue.

Thanks for your interest in Syncfusion products.

Best Regards,


Administrator [Syncfusion]
Replied On February 28, 2007 11:16 AM UTC

Unfortunately, I can't reproduce this exception in your example, but reasen is DockStreamLayout, when I delete the serialized base64 value from the .resx file my application works fine. When I made some changes in the designer and DockStreamLayout is recreated the exception occurs.

Golda Rebecal [Syncfusion]
Replied On March 1, 2007 02:21 PM UTC

Hi Dimitar,

Could you please refer the following thread that discusses about the DockLayoutStream?


If still the problem exists, please send me a sample having the issue. This will help us to resolve the issue soon.

Thanks for your interest in Syncfusion products.

Best Regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon