Floating Window to Rad Pane throw exception

7 posts, 0 answers
  1. Suresh
    Suresh avatar
    7 posts
    Member since:
    Jun 2012

    Posted 11 Sep 2015 Link to this post

    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

  2. Geri
    Admin
    Geri avatar
    60 posts

    Posted 14 Sep 2015 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
  4. Suresh
    Suresh avatar
    7 posts
    Member since:
    Jun 2012

    Posted 14 Sep 2015 in reply to Geri Link to this post

    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.

  5. Geri
    Admin
    Geri avatar
    60 posts

    Posted 15 Sep 2015 Link to this post

    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
  6. Suresh
    Suresh avatar
    7 posts
    Member since:
    Jun 2012

    Posted 15 Sep 2015 in reply to Geri Link to this post

    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.

  7. Geri
    Admin
    Geri avatar
    60 posts

    Posted 16 Sep 2015 Link to this post

    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
  8. Suresh
    Suresh avatar
    7 posts
    Member since:
    Jun 2012

    Posted 16 Sep 2015 in reply to Geri Link to this post

    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.

Back to Top
UI for WPF is Visual Studio 2017 Ready