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

multiple System.Window and multiple RadDocking

7 Answers 57 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Vincenzo Bonsangue
Top achievements
Rank 1
Vincenzo Bonsangue asked on 22 May 2012, 07:07 AM
Developing an application in SL5 and have a main UserControl plus two System.Window(s) each of which have RadDocking controls (hence 3). The user has the ability to drop into any of these three RadDocking controls any number of predefined views. THE PROBLEM IS when manipulating the RadPane that are located within a System.Window the docking cursors that are activated are those of the main UserControl and not of the specific System.Window and the same RadPane ends up in the main UserControl RadDocking control.

Has anyone had this issue and worked out how to solve it ?

7 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 28 May 2012, 01:30 PM
Hello Vincenzo,

Could you please give us some more details about your application - when and how are you opening the
two System.Window(s), what do they contain and also the UserControl, how does the user interact with them all?
Ideally, if you could send us a sample project reproducing the issue it will be very helpful for tracking down the source of the problem in a timely manner.

Looking forward to your reply.

Regards,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Adrian
Top achievements
Rank 1
answered on 28 May 2012, 11:43 PM

Build a SL5 application running OOB
------------------------------------------------------------------------------------------------------ MainPage.xaml.cs
<UserControl
    x:Class="MultiWindowDocking.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:multiwindowdocking="clr-namespace:MultiWindowDocking">

    <Grid x:Name="LayoutRoot" Background="White">
        <multiwindowdocking:CommonDockingContainer />
    </Grid>
</UserControl>
------------------------------------------------------------------------------------------------------ MainPage.cs

namespace MultiWindowDocking
{
    public partial class MainPage : UserControl
    {
        public MainPage()
        {
            InitializeComponent();

            Window window = new Window();
            window.Content = new CommonDockingContainer();
            window.Show();

            window = new Window();
            window.Content = new CommonDockingContainer();
            window.Show();
        }
    }
}
------------------------------------------------------------------------------------------------------ CommonDockingContainer.xaml.cs
<UserControl
    x:Class="MultiWindowDocking.CommonDockingContainer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">

    <Grid x:Name="LayoutRoot" Background="White">
        <telerik:RadDocking>
            <telerik:RadSplitContainer>
                <telerik:RadPaneGroup>
                    <telerik:RadPane>
                        <TextBlock Text="move this pane around this docking control and see what happens. If this is a System.Window when you start dragging this pane it disappears from here and shows up in the main silverlight window. Once you end the dragging operation it returns here again. But obviously in an incorrect location" TextWrapping="Wrap"/>
                    </telerik:RadPane>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
            <telerik:RadSplitContainer>
                <telerik:RadPaneGroup>
                    <telerik:RadPane>
                        <TextBlock Text="It would be nice to move this pane across to another System window or main Silverlight Window" TextWrapping="Wrap"/>
                    </telerik:RadPane>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
        </telerik:RadDocking>
    </Grid>
</UserControl>

------------------------------------------------------------------------------------------------------

0
Konstantina
Telerik team
answered on 01 Jun 2012, 02:44 PM
Hello Adrian,

After spending some time researching the issue, we have concluded that there is a problem with the mouse coordinates in Silverlight 5 running out-of-browser. The coordinates returned are the one in the main window, and that is why the compass is displayed there.
We will look further for a solution.

Greetings,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Maxime
Top achievements
Rank 1
answered on 18 Sep 2012, 03:33 PM
Hello,

Do you have found any issue for this problem ?
Because with the latest version of Telerik for silverlight, i have exaclty the same issue.

Thank you.
Maxime.
0
Konstantina
Telerik team
answered on 21 Sep 2012, 09:42 AM
Hello,

For now we haven't found a way to fix this issue. Since the problem comes less or more from the Silverlight 5 running OOB and until something is changed in it, I am afraid we won't be able to do anything more.
Sorry for the caused inconvenience.

Regards,
Konstantina
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

0
Rachel
Top achievements
Rank 2
answered on 17 Oct 2012, 03:43 AM
Any word or workaround on this issue?  I'm seeing the exact same problem.
0
George
Telerik team
answered on 22 Oct 2012, 06:26 AM
Hello,

We will try to fix this issue for the Q3 Service Pack release or for one of the next internal builds and we will update you when we have more information. You could track the work item in our PITS here - http://www.telerik.com/support/pits.aspx#/public/silverlight/13038.

Regards,
George
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Docking
Asked by
Vincenzo Bonsangue
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Adrian
Top achievements
Rank 1
Maxime
Top achievements
Rank 1
Rachel
Top achievements
Rank 2
George
Telerik team
Share this question
or