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 01:27 PM

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 02:22 PM

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 01:22 PM

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 07:58 AM



JD Joel Dolisy June 13, 2003 04:00 PM

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 15, 2003 11:52 PM

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 07:41 PM

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

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

Loader.
Live Chat Icon For mobile
Up arrow icon