This is a migrated thread and some comments may be shown as answers.

PrepareContainerForItemOverride

3 Answers 69 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Legros
Top achievements
Rank 2
Legros asked on 27 Oct 2008, 09:33 AM
Hi

I've worked a bit with your TreeView and I'm suffering from one "little" issue.

I was playing with Drag & Drop and sometime my application freeze (in facts, it disapears leaving my test page completely blank)

I looked to exceptions and I found one but I'm not sure that it's the one which freeze the application.

Here is the StackTrace :
   at Telerik.Windows.Controls.RadTreeViewItem.PrepareContainerForItemOverride(DependencyObject element, Object item)
   at System.Windows.Controls.ItemsControl.UpdateContainerForItem(Int32 index)
   at System.Windows.Controls.ItemsControl.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
   at System.Collections.ObjectModel.Collection`1.Add(T item)
   at System.Collections.ObjectModel.Collection`1.System.Collections.IList.Add(Object value)
   at Telerik.Windows.Controls.RadTreeView.EndDrag()
   at Telerik.Windows.Controls.RadTreeView.HandleMouseUp(MouseEventArgs e)
   at Telerik.Windows.Controls.RadTreeView.RadTreeView_MouseLeftButtonUp(Object sender, MouseEventArgs e)
   at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)

Hope that you'll be able to help me !

Thanks for reading


Georges




3 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 30 Oct 2008, 07:52 AM
Hello Legros,

We are not aware of this issue - can you send us a sample project - this will be of great help.

Best wishes,
Valentin.Stoychev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Legros
Top achievements
Rank 2
answered on 30 Oct 2008, 10:27 AM
I'll try to put it into a sample external project ASAP,

thanks for reply
0
Konstantin Petkov
Telerik team
answered on 31 Oct 2008, 06:13 AM
Hello Legros,

You can send your project via a private support ticket submitted from your Client.Net account as attachments are not allowed in the forums.

We will be expecting your project. Thank you for your cooperation and understanding!

All the best,
Konstantin Petkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TreeView
Asked by
Legros
Top achievements
Rank 2
Answers by
Valentin.Stoychev
Telerik team
Legros
Top achievements
Rank 2
Konstantin Petkov
Telerik team
Share this question
or