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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

57075 Feb 26,2007 02:27 AM Mar 1,2007 09:21 AM Windows Forms 3
loading
Tags: Tools
Dimitar Milov
Asked On February 26, 2007 02:27 AM

Hi,
I've upgrade my syncfusion from 3.3.0.0 to 4.1.0.50 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 (3.3.0.0) everything works fine.

Do you have some idea what is the reasen?

Golda Rebecal [Syncfusion]
Replied On February 26, 2007 09:28 AM

Hi Dimitar,

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

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,
Golda


Docking9.zip

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

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 09:21 AM

Hi Dimitar,

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

http://www.syncfusion.com/support/forums/message.aspx?MessageID=53152

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,
Golda

CONFIRMATION

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.

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.

;