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.
Syncfusion Feedback

TreeViewAdv, Drag&Drop and Scrolling

Thread ID:

Created:

Updated:

Platform:

Replies:

90699 Oct 13,2009 05:27 PM UTC Nov 26,2009 06:14 AM UTC WPF 5
loading
Tags: Tools
Puthirak OM
Asked On October 13, 2009 05:27 PM UTC

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



C. Sudha [Syncfusion]
Replied On 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.

Puthirak OM
Replied On 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

C. Sudha [Syncfusion]
Replied On 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.


Puthirak OM
Replied On 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

C. Sudha [Syncfusion]
Replied On 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.

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.

Warning Icon 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.Close Icon

;