The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi, I am using syncfusion version 4.4.0.51 TreeViewAdv control on window form in a C# application. I followed the sample code included in the essential suites getstarted guide to implement the dragdrop effect. However, I come across out of bound exception right after I click on some node on the tree and start to drag it. The exception goes as follows:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.Collections.ArrayList.get_Item(Int32 index) at Syncfusion.Collections.ArrayListExt.get_Item(Int32 index) at Syncfusion.Windows.Forms.Tools.TreeNodeAdvCollection.get_Item(Int32 index) at Syncfusion.Windows.Forms.Tools.TreeViewAdv.GetSelectedNodesRectangle(TreeNodeAdv[] tnas) at Syncfusion.Windows.Forms.Tools.TreeViewAdv.ExtractSelectedBoundsFromBmp(Bitmap bmp, TreeNodeAdv[] tnas) at Syncfusion.Windows.Forms.Tools.TreeViewAdv.GetDraggedNodesBitmap() at Syncfusion.Windows.Forms.Tools.TreeViewAdv.set_DragCueOn(Boolean value) at Syncfusion.Windows.Forms.Tools.TreeViewAdv.OnGiveFeedback(GiveFeedbackEventArgs args) at Syncfusion.Windows.Forms.Tools.TreeViewAdv.OnMouseMove(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseMove(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg) at Syncfusion.Windows.Forms.Tools.TreeViewAdv.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
For example:
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
J.J.Nagarajan Syncfusion Team August 9, 2007 10:23 PM UTC
Hi Faisal,
We regret for the inconvenience caused. I have tested this issue in v.4.4.0.51. I am afraid, I was not able to reproduce this issue in our browser sample TreeViewAdv DragDrop.
Could you please check the sample and let me know whether you are able to reproduce the issue in this sample?. It would be helpful if you provide a sample or modify the TreeViewAdv DragDrop sample to reproduce this issue. It will help us to resolve it as early as possible.
Thanks for using Essential Tools
Regards, Nagaraj
PHPatrick HamptonAugust 31, 2007 07:31 PM UTC
Nagaraj
I have encountered the exact same issue in version 5.1.1.0. Has there been any progress on resolving this issue? I am working on creating a demo app that recreates the issue but do not have one yet. I will post it here if I am able to recreate it before a solution is found.
Thanks Patrick
>Hi Faisal,
We regret for the inconvenience caused. I have tested this issue in v.4.4.0.51. I am afraid, I was not able to reproduce this issue in our browser sample TreeViewAdv DragDrop.
Could you please check the sample and let me know whether you are able to reproduce the issue in this sample?. It would be helpful if you provide a sample or modify the TreeViewAdv DragDrop sample to reproduce this issue. It will help us to resolve it as early as possible.
Thanks for using Essential Tools
Regards, Nagaraj
J.J.Nagarajan Syncfusion Team September 5, 2007 12:56 AM UTC
Hi Faisal,
Thank you for your response.
I have tested this issue in v.5.1.1.0 and I was able to reproduce this issue. We have internally fixed this issue in v.5.2.0.16. Please open a new Direct trac incident (title with this forum link). We will provide you the download link of our latest release including this fix.
Kindly let us know if you need any further assistance.