Last Updated: 02 Apr 2020 15:07 by ADMIN

This is the most logged exception in my application and it looks like it's coming from RadToolBar: Specified element is already the logical child of another element. Disconnect it first.


System.Windows.FrameworkElement.ChangeLogicalParent(DependencyObject newParent):50
System.Windows.FrameworkElement.AddLogicalChild(Object child):55
System.Windows.Controls.UIElementCollection.AddInternal(UIElement element):7
System.Windows.Controls.UIElementCollection.Add(UIElement element)
Telerik.Windows.Controls.RadToolBar.InsertInPanel(Panel panel, UIElement container, Int32 position):3
Telerik.Windows.Controls.RadToolBar.OnItemsCollectionChanged(Panel panel, NotifyCollectionChangedEventArgs e):136
Telerik.Windows.Controls.RadToolBar.OnOverflowItemsCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e):15
System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item):36
System.Collections.ObjectModel.Collection`1.Add(T item):32
System.Collections.ObjectModel.Collection`1.System.Collections.IList.Add(Object value):28
Telerik.Windows.Controls.RadToolBar.InsertOverflowItem(Object item, Int32 position):45
Telerik.Windows.Controls.RadToolBar.TryMoveStripItemToOverflow(Int32 index)
Telerik.Windows.Controls.RadToolBar.MeasureOverride(Size availableSize):70
System.Windows.FrameworkElement.MeasureCore(Size availableSize):568
System.Windows.UIElement.Measure(Size availableSize):401
System.Windows.Controls.Grid.MeasureOverride(Size constraint):67
System.Windows.FrameworkElement.MeasureCore(Size availableSize):568
System.Windows.UIElement.Measure(Size availableSize):401
System.Windows.Controls.Border.MeasureOverride(Size constraint):256
System.Windows.FrameworkElement.MeasureCore(Size availableSize):568
System.Windows.UIElement.Measure(Size availableSize):401
MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint):28
Last Updated: 04 Nov 2014 13:39 by ADMIN
Created by: Gladky
Comments: 2
Category: ToolBar
Type: Bug Report
When you are binding ItemSource to collection, the Height of RadToolbarTray becomes equals null so it's not visible.
Can you fix it please?
Last Updated: 24 Jul 2015 13:22 by ADMIN
Created by: Telerik Admin
Comments: 0
Category: ToolBar
Type: Bug Report
Instances of the Buttons in ToolBar are not removed correctly.

EDIT: We are marking this item Declined.
We are unable to detect any memory leaks with WPF or SL toolbar with Q2 2015 dlls.

Please open a new support with details if you encounter any memory leak issues with RadToolbar.
Last Updated: 19 May 2016 12:47 by ADMIN
ToolBar: ToolBarTray doesn't respect ToolBar's HorizontalAlignment property.

ToolBarTray is actually a Grid supporting Band and BandIndex properties of the RadToolBar.
To simply position RadToolBars with Horizontal/VerticalAlignment properties you can use Grid instead of RadToolBarTray.

The XAML team has recently reviewed this issue and will not be addressing it as at this time the team is focusing on the bugs impacting the highest number of developers. If you have encountered this issue and it is blocking for your work please contact us through the support ticketing system with details on your setup and a reference to this item.