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)
GR
Golda Rebecal
Syncfusion Team
June 27, 2007 11:06 AM UTC
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