Has anyone had this issue and worked out how to solve it ?
7 Answers, 1 is accepted
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
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>
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
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.
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.
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.
George
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.