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.
RPRamesh Praveen Syncfusion Team March 13, 2003 01:27 PM
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).
CWCharles WolfersbergerMarch 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.
EMEuticio MontelongoApril 30, 2003 12: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?
RPRamesh Praveen Syncfusion Team May 2, 2003 06:58 AM
JDJoel DolisyJune 13, 2003 03: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).
RPRamesh Praveen Syncfusion Team June 15, 2003 10:52 PM
Our latest release 1.6.* to be released very soon will include a fix for this release.
TLTom LangerJune 16, 2003 06: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.
RPRamesh Praveen Syncfusion Team June 17, 2003 10:21 AM
Yes, please wait for the 1.6 release. If you continue seeing these problems please provide a reproducable sample.