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

Error when removing a pane with latest version

1 Answer 53 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 22 Aug 2011, 12:41 PM
Hello,

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

Here is how I use the RadPane

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

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

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 25 Aug 2011, 08:54 AM
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,
Konstantina
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
Andrew
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or