Error when removing a pane with latest version

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    23 posts
    Member since:
    Oct 2008

    Posted 22 Aug 2011 Link to this post


    I have updated the Telerik controls, now the assemblies show 2011.2.712.1040

    Here is how I use the RadPane

                <telerik:RadSplitContainer Orientation="Vertical">
                    <telerik:RadPaneGroup x:Name="RadPaneGroup"
                                          converters:PaneGroupExtensions.ItemsSource="{Binding Workspaces}">

    'Workspaces' is an observable collection.

    When removing a pane using RadPaneGroup.Items.Remove I get this exception:

    System.ArgumentException: Value does not fall within the expected range.
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodPack(IntPtr objectPtr, String methodName, Object[] rawData)
       at MS.Internal.XcpImports.UIElement_TransformToVisual(UIElement element, UIElement visual)
       at Telerik.Windows.Controls.ApplicationHelper.TransformToScreenRoot(UIElement target)
       at Telerik.Windows.Controls.WindowHost.GetGlobalMousePosition(UIElement target, MouseEventArgs e)
       at Telerik.Windows.Controls.InternalWindow.DragBehavior.OnElementLostMouseCapture(Object sender, MouseEventArgs e)
       at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
       at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)

    This was working fine until updating to latest Telerik (2011.2.712.1040)
    I don't remember exactly what was the previous version I had, I think it was 2011.1

    Is there any known issue which I hit?
    Do you have any ideas how to debug more?

    Thank you.
  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 25 Aug 2011 Link to this post

    Hi Ken,

    I am sorry, but I wasn't able to reproduce the error. Could you please send us your project, so that we can run it here locally and track down the source of the problem. I am especially interested in the PaneGroupExtensions, even though it shouldn't be related to the error.

    Looking forward to your reply.

    Best wishes,
    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