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

dock manager problem

Thread ID:





42765 Apr 5,2006 02:56 PM UTC Apr 7,2006 09:37 AM UTC WinForms 1
Tags: Tools
Asked On April 5, 2006 02:56 PM UTC

i had a problem with the docking manager when i updated from the version to the version the form that i used the docking manager is giving an exception at runtime and design time and the design is halting disallowing me to make any changes to the form. the exception that is raised is: "Index and length must refer to a location within the string. Parameter name: length Source : mscorlib Stack Trace : at System.String.Substring(Int32 startIndex, Int32 length)at Syncfusion.Windows.Forms.Tools.CaptionPainter.PaintCaption(Graphics gph, Pen pen)at Syncfusion.Windows.Forms.Tools.DockHost.OnPaint(PaintEventArgs e)at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m)at System.Windows.Forms.ScrollableControl.WndProc(Message& m)at System.Windows.Forms.ContainerControl.WndProc(Message& m)at Syncfusion.Windows.Forms.Tools.DockHost.WndProc(Message& msg) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)" please help me, the form is very complex to be rebuilt thanks

Joy K George [Syncfusion]
Replied On April 7, 2006 09:37 AM UTC

Hi Ahmedhse, Sorry for the inconvenience caused.This exception will raise only when the Name property of docked controls is empty.So please ensure that the name property as well as DockLabel has been set for all the docked controls. Please let me know if you need further assistance. Regards, Joy


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