Hi,
I've a RadGridView with a SelectColumn inside a RadPane (RadDocking).
When the pane is hosted in DocumentHost and i drag the pane over and pass into floating window an exception i thrown :
If i remove the SelectColumn, all is working fine.
I'm using the internal build of WPF Controls : 2011.3.1227.40
I tried with stable build and latest internal builds and the behavior is the same.
Any help ?
Thanks.
I've a RadGridView with a SelectColumn inside a RadPane (RadDocking).
When the pane is hosted in DocumentHost and i drag the pane over and pass into floating window an exception i thrown :
Message : Specified element is already the logical child of another element. Disconnect it first.
StackTrace :
at System.Windows.FrameworkElement.ChangeLogicalParent(DependencyObject newParent)
at System.Windows.FrameworkElement.AddLogicalChild(Object child)
at System.Windows.Controls.ContentControl.OnContentChanged(Object oldContent, Object newContent)
at System.Windows.Controls.ContentControl.OnContentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at Telerik.Windows.Controls.GridView.GridViewHeaderCell.PrepareHeaderContent() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\GridView\GridView\GridView\Cells\GridViewHeaderCell.cs:line 382
at Telerik.Windows.Controls.GridView.GridViewHeaderCell.Prepare() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\GridView\GridView\GridView\Cells\GridViewHeaderCell.cs:line 1100
at Telerik.Windows.Controls.GridView.GridViewHeaderRow.PrepareCell(GridViewCellBase cellBase, GridViewColumn column) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\GridView\GridView\GridView\Rows\GridViewHeaderRow.cs:line 244
at Telerik.Windows.Controls.GridView.GridViewCellsPanel.PrepareCell(GridViewCellBase cell, GridViewColumn column) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewCellsPanel.cs:line 410
at Telerik.Windows.Controls.GridView.GridViewCellsPanel.GetVirtualizedCell(GridViewColumn column, Boolean createIfNull) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewCellsPanel.Virtualization.cs:line 399
at Telerik.Windows.Controls.GridView.GridViewCellsPanel.RealizeAndMeasureCells(Int32 startIndex, Int32 predictedLastIndex, Func`2 calculateNextIndex) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewCellsPanel.Virtualization.cs:line 334
at Telerik.Windows.Controls.GridView.GridViewCellsPanel.UpdateVirtualizedCells() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewCellsPanel.Virtualization.cs:line 269
at Telerik.Windows.Controls.GridView.GridViewCellsPanel.MeasureOverride(Size availableSize) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewCellsPanel.cs:line 306
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
at System.Windows.Controls.ItemsPresenter.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
If i remove the SelectColumn, all is working fine.
I'm using the internal build of WPF Controls : 2011.3.1227.40
I tried with stable build and latest internal builds and the behavior is the same.
Any help ?
Thanks.