Dropping a RadPane to DocumentHost cause Exception

2 posts, 0 answers
  1. Carsten
    Carsten avatar
    1 posts
    Member since:
    Aug 2011

    Posted 22 Aug 2011 Link to this post

    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?

  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 22 Aug 2011 Link to this post

    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 >>

  3. DevCraft banner
Back to Top