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.

Destination Array was not long enough - error

Thread ID:

Created:

Updated:

Platform:

Replies:

62984 Jun 26,2007 01:56 PM Jun 27,2007 07:06 AM Windows Forms 1
loading
Tags: Tools
Mark Atkinson
Asked On June 26, 2007 01:56 PM

I'm getting an error when I call RemoveRange on a TreeNodeAdvCollection. I've recently upgraded to the 1.5 libraries and didn't get this error when I was using 1.4.

The TreeNodeAdvCollection will have, for example, 5 nodes and I call the method like this:

treeAdvNodeCollection.RemoveRange (0, 2);

...which gives me this error message and stack trace:
String Message = "Destination array was not long enough. Check destIndex and length, and the array's lower bounds. at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Collections.ArrayList.CopyTo(Array array, Int32 arrayIndex)
at Syncfusion.Collections.ArrayListExt.RemoveRange(Int32 index, Int32 count)

Golda Rebecal [Syncfusion]
Replied On June 27, 2007 07:06 AM

Hi Mark,

I am able to see the issue of exception being thrown when the RemoveRange method of TreeNodeAdvCollection is used.

We have created a Direct-Trac incident with the ID #35192 in this regard. Could you please follow up this incident in order to get more details regarding the fix?

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.

;