I have 2 RadPane inside a RadPaneGroup which is inside a RadDocking and Split Container.
I have a UserControl with Textbox inside it and Placed the UserControl inside second RadPane as content Template.
Now dragged the Second Rad Pane from the Group and Float it. Then manually set the focus on Textbox inside the second RadPane. When i again drop the Floating window (Dock center) into RadPane Group, it throws exception as below
ArgumentOutOfRangeException: Index out of Range Exception ....
But it is not throwing this error when I am not focus into the Textbox.
Please provide me a solution
6 Answers, 1 is accepted
We tried to reproduce the scenario you describe, but with no luck - please see attached video.
Attached you can find a sample project we used for testing purposes. It would be great if you could modify it so that the issue would appear and send it back, so we can investigate on our side.
Also, please specify the version of the assemblies you are using, it might be different from the one we used in our project.
Looking forward to your reply.
Regards,
Geri
Telerik
Still getting same issue.
My telerik Version is 2012.2.912.35. and Visual studion 2008 and dotnet framework is 3.5.
Also i am not able to compile your version of the project attached.May be different version.
I got some compilation errors like InitializeComponent does not exist,System.Xaml is not available in reference.
No need to have seperate user control and you can just place the TextBox inside Pane-2 DataTemplate.
It is just straight forward and got the same error still.
Thank you for the details.
The additional information helped us reproduce the issue and it turns out that it appears only with .NET 3.5 assemblies. With assemblies from the same release in .NET 4.0, the issue is not observed.
As for the project we sent you - it does not compile at your side, because it targets .NET version 4.0.
Having said this, we recommend upgrading to a higher version of .NET and using Telerik UI for WPF assemblies with version at least 4.0 - you can take a look at the minimum Development Environment requirements for our WPF suite.
Hope this helps.
Regards,
Geri
Telerik
Thanks for the info and now i can understand the issue.
Is there any workaround to handle this error since this system is already developed and running.
We understand your concerns, unfortunately there is no workaround that we can currently suggest in this case.
If you have any other question regarding our controls, please don't hesitate to contact us.
Regards,
Geri
Telerik
Thank You for the information Geri.I will try to upgrade the Framework.
Also could you please let me know the root cause of this focus error.