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. Image for the cookie policy date

Display problems with XPTaskBar in design time

I have noticed that the XPTaskBar has problems displaying itself on a form in design time after control events (for any controls on the form)are added, edited or deleted in the form's code section. When an event is added to a form that also holds an XPTaskBar, the following two popup error messages occur when selecting the form's design-time display page: Popup #1: “Specified argument was out of the range of valid values. Parameter name: Index 0 is out of range.” Popup #2: “ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: Index 0 is out of range.” The form then disappears from the design page and is replaced with the following message: "An error occurred while loading the document. Fix the error and then try loading the document again. The error message follows: Object reference not set to an instance of an object." If I simply close and then reopen this page, the form is displayed as it should be. QUESTION: What can be done to prevent these popup error messages and the need to continuously close and open the design page of a form? Thank you for your assistance in this matter. Charles

8 Replies

RP Ramesh Praveen Syncfusion Team March 13, 2003 06:27 PM UTC

Charles, Does this form have a DockingManager? We have seen similar issues with a form containging a DockingManager. We will have a patch for this soon. If not please attach a sample project reproducing this issue (I just checked this in our XPTaskBar sample, where this didn't happen). Regards, Praveen Ramesh

CW Charles Wolfersberger March 13, 2003 07:22 PM UTC

Yes, this problem is occurring on those forms which have an XPTaskBar and a DockingManager control. I'll wait for the patch. Thanks. Charles

EM Euticio Montelongo April 30, 2003 05:22 PM UTC

I'm also having the same issue with ArgumentOutOfRangeException with XPTaskBar and DockingManager control on the same form. Has the patch been release yet?

RP Ramesh Praveen Syncfusion Team May 2, 2003 11:58 AM UTC

JD Joel Dolisy June 13, 2003 08:00 PM UTC

What's the status on the fix for this problem? I'm having the same type of error (without the argument of range exception popup).

RP Ramesh Praveen Syncfusion Team June 16, 2003 03:52 AM UTC

Hi, Our latest release 1.6.* to be released very soon will include a fix for this release. -Praveen

TL Tom Langer June 16, 2003 11:41 PM UTC

I am also having the same problem, on multiple forms too. One form is using the xptaskbar by itself, another uses that and the grid on the same page. I also have another issue, where it goes into an endless "refresh" in design mode, where it never finishes repainting the control, and you can't see of the actual control - the control area is filled with whatever is below the current window (hard to explain). I was also going to wait for v1.6 and see if it goes away.

RP Ramesh Praveen Syncfusion Team June 17, 2003 03:21 PM UTC

Yes, please wait for the 1.6 release. If you continue seeing these problems please provide a reproducable sample. Thanks. Praveen

Live Chat Icon For mobile
Up arrow icon