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

Dropping a RadPane to DocumentHost cause Exception

1 Answer 40 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Carsten
Top achievements
Rank 1
Carsten asked on 22 Aug 2011, 08:40 AM
Hi !

I've a problem using RadDocking in Silverlight. If I try to move a RadPane which is added to a RadSplitContainer/RadPaneGroup to a DocumentHost/RadSplitContainer/RadPaneGroup the assembly throws an exception. The compass menu is highlighted to dock the RadPane after this exception but the whole application crashes!

This pane cannot be removed from parent, because it doesn't have one!   bei Telerik.Windows.Controls.RadPane.RemoveFromParent()
   bei Telerik.Windows.Controls.Docking.DocumentHost.AddPane(RadPane pane)
   bei Telerik.Windows.Controls.Docking.DocumentHost.AddSplitItem(ISplitItem itemToAdd)
   bei Telerik.Windows.Controls.RadDocking.OnDragCompleted(Object sender, DragInfoEventArgs e)
   bei Telerik.Windows.Controls.Docking.DragInfoEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   bei Telerik.Windows.RadRoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   bei Telerik.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RadRoutedEventArgs routedEventArgs)
   bei Telerik.Windows.RouteItem.InvokeHandler(RadRoutedEventArgs routedEventArgs)
   bei Telerik.Windows.EventRoute.InvokeHandlersImpl(Object source, RadRoutedEventArgs args, Boolean raisedAgain)
   bei Telerik.Windows.EventRoute.InvokeHandlers(Object source, RadRoutedEventArgs args)
   bei Telerik.Windows.RadRoutedEventHelper.RaiseEvent(DependencyObject element, RadRoutedEventArgs args)
   bei Telerik.Windows.DependencyObjectExtensions.RaiseEvent(DependencyObject element, RadRoutedEventArgs e)
   bei Telerik.Windows.Controls.Docking.ToolWindow.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   bei System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
   bei MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)

Here is a part of the Shell.xaml:
<Grid x:Name="MainGrid" Margin="0" Grid.Row="1" Background="{x:Null}">
  <telerik:RadDocking>
    <telerik:RadDocking.DocumentHost>
      <telerik:RadSplitContainer>
        <telerik:RadPaneGroup x:Name="RadPaneGroupMainRegion" prism:RegionManager.RegionName="MainRegion" Background="{x:Null}" />
      </telerik:RadSplitContainer>
    </telerik:RadDocking.DocumentHost>
    <telerik:RadSplitContainer InitialPosition="DockedLeft" Width="380">
      <telerik:RadPaneGroup prism:RegionManager.RegionName="ExplorerRegion" />
    </telerik:RadSplitContainer>
    <telerik:RadSplitContainer InitialPosition="DockedLeft">
      <telerik:RadPaneGroup prism:RegionManager.RegionName="PropertiesRegion" />
    </telerik:RadSplitContainer>
  </telerik:RadDocking>
</Grid>

Any suggestions?

1 Answer, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 22 Aug 2011, 12:30 PM
Hello Carsten,

 We are aware of this problem and it should be fixed in the latest internal build. We apologize for the inconvenience caused.

Kind regards,
Miroslav Nedyalkov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Docking
Asked by
Carsten
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or