TreeViewAdv, Drag&Drop and Scrolling
Hi,
How can i tell a TreeViewAdv to automatically scroll itself
when a Drag&Drop is performed, so the items not displayed
can be reached.
Regards,
Puthirak OM
Reportive SA
How can i tell a TreeViewAdv to automatically scroll itself
when a Drag&Drop is performed, so the items not displayed
can be reached.
Regards,
Puthirak OM
Reportive SA
SIGN IN To post a reply.
5 Replies
CS
C. Sudha
Syncfusion Team
October 14, 2009 07:20 AM UTC
Hi Puthirak,
We are extremely sorry for this inconvenience caused.
This is issue in our TreeViewAdv control. But We already aware about this issue and we have already fixed this issue in our internal source. The fix for this issue will be available in our Vol4 release which is scheduled on lask week of this month.
Thanks for choosing Syncfusion product.
Please let us know if there are any concerns.
Regards,
SudhaC.
We are extremely sorry for this inconvenience caused.
This is issue in our TreeViewAdv control. But We already aware about this issue and we have already fixed this issue in our internal source. The fix for this issue will be available in our Vol4 release which is scheduled on lask week of this month.
Thanks for choosing Syncfusion product.
Please let us know if there are any concerns.
Regards,
SudhaC.
PO
Puthirak OM
November 16, 2009 06:24 PM UTC
Hi,
The fix in Vol.4 works, but it introduced another problem in my code.
An exception occured now in my code (while the same code works with Vol.3).
Unfortunately, i cannot give you my code and i wasn't able to write a code snippet that reproduced the exception.
I've join an exception snapshot and here's the call stack:
System.NullReferenceException {"Object reference not set to an instance of an object."}
Data: {System.Collections.ListDictionaryInternal} of Key: {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} Values: {System.Collections.ListDictionaryInternal.NodeKeyValueCollection}
Source: Syncfusion.Tools.WPF
StackTrace:
at Syncfusion.Windows.Tools.Controls.TreeViewAdv.get_CompleteRect()
at Syncfusion.Windows.Tools.Controls.TreeViewAdv.get_InternalRect()
at Syncfusion.Windows.Tools.Controls.TreeViewAdv.DoAutoScroll(Point mousePoint)
at Syncfusion.Windows.Tools.Controls.TreeViewAdv.autoScrollerTimer_Tick(Object sender, EventArgs e)
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at System.Windows.Application.Run()
at Designer.App.Main() in C:\data\dev\trunk\sources\Reports\Analyser\UI\Designer\Designer\obj\Release\App.g.cs:line 0
Thanks,
P.OM
Reportive SA
exception_398aa509.zip
The fix in Vol.4 works, but it introduced another problem in my code.
An exception occured now in my code (while the same code works with Vol.3).
Unfortunately, i cannot give you my code and i wasn't able to write a code snippet that reproduced the exception.
I've join an exception snapshot and here's the call stack:
System.NullReferenceException {"Object reference not set to an instance of an object."}
Data: {System.Collections.ListDictionaryInternal} of Key: {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} Values: {System.Collections.ListDictionaryInternal.NodeKeyValueCollection}
Source: Syncfusion.Tools.WPF
StackTrace:
at Syncfusion.Windows.Tools.Controls.TreeViewAdv.get_CompleteRect()
at Syncfusion.Windows.Tools.Controls.TreeViewAdv.get_InternalRect()
at Syncfusion.Windows.Tools.Controls.TreeViewAdv.DoAutoScroll(Point mousePoint)
at Syncfusion.Windows.Tools.Controls.TreeViewAdv.autoScrollerTimer_Tick(Object sender, EventArgs e)
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at System.Windows.Application.Run()
at Designer.App.Main() in C:\data\dev\trunk\sources\Reports\Analyser\UI\Designer\Designer\obj\Release\App.g.cs:line 0
Thanks,
P.OM
Reportive SA
exception_398aa509.zip
CS
C. Sudha
Syncfusion Team
November 18, 2009 10:03 AM UTC
Hi Puthirak,
Thanks for choosing Syncfusion product.
Sorry for the inconvience cuased. I am not able to reproduce the mentioned issue. Could you please update me the exact steps for reproducing this issue and some more details about this issue. If possible, please send me a sample to reproduce this issue.
Please let me know if you have any questions.
Regards,
SudhaC.
Thanks for choosing Syncfusion product.
Sorry for the inconvience cuased. I am not able to reproduce the mentioned issue. Could you please update me the exact steps for reproducing this issue and some more details about this issue. If possible, please send me a sample to reproduce this issue.
Please let me know if you have any questions.
Regards,
SudhaC.
PO
Puthirak OM
November 23, 2009 08:48 AM UTC
Hi Sudha,
I can't really give the steps to reproduce it and i can't give you
the product that i'm actually working on.
I tried to write a small code to reproduce it but failed to reproduced the exception.
All i can suggest is a code review from your part.
So for now, i have switched to the standard treeview.
Thanks,
P.OM
Reportive SA
I can't really give the steps to reproduce it and i can't give you
the product that i'm actually working on.
I tried to write a small code to reproduce it but failed to reproduced the exception.
All i can suggest is a code review from your part.
So for now, i have switched to the standard treeview.
Thanks,
P.OM
Reportive SA
CS
C. Sudha
Syncfusion Team
November 26, 2009 06:14 AM UTC
Hi Puthirak,
We made some possible null reference check based on your stack trace information in our latest source. Please create incident using our direct track system we will send it you custom assembly for your testing.
Regards,
SudhaC.
We made some possible null reference check based on your stack trace information in our latest source. Please create incident using our direct track system we will send it you custom assembly for your testing.
Regards,
SudhaC.
SIGN IN To post a reply.
- 5 Replies
- 2 Participants
-
PO Puthirak OM
- Oct 13, 2009 05:27 PM UTC
- Nov 26, 2009 06:14 AM UTC