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

Floating Window to Rad Pane throw exception

6 Answers 118 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Suresh
Top achievements
Rank 1
Suresh asked on 11 Sep 2015, 07:00 AM

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

Sort by
0
Geri
Telerik team
answered on 14 Sep 2015, 03:58 PM
Hi Suresh,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Suresh
Top achievements
Rank 1
answered on 14 Sep 2015, 04:18 PM

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.

0
Geri
Telerik team
answered on 15 Sep 2015, 02:59 PM
Hi Suresh,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Suresh
Top achievements
Rank 1
answered on 15 Sep 2015, 05:16 PM

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.

0
Geri
Telerik team
answered on 16 Sep 2015, 02:18 PM
Hello Suresh,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Suresh
Top achievements
Rank 1
answered on 16 Sep 2015, 04:14 PM

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.

Tags
Docking
Asked by
Suresh
Top achievements
Rank 1
Answers by
Geri
Telerik team
Suresh
Top achievements
Rank 1
Share this question
or