multiple System.Window and multiple RadDocking

8 posts, 0 answers
  1. Vincenzo Bonsangue
    Vincenzo Bonsangue avatar
    2 posts
    Member since:
    May 2004

    Posted 22 May 2012 Link to this post

    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 ?
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 28 May 2012 Link to this post

    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 >>
  3. DevCraft banner
  4. Adrian
    Adrian avatar
    2 posts
    Member since:
    Apr 2011

    Posted 28 May 2012 Link to this post

    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>

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

  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 01 Jun 2012 Link to this post

    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 >>
  6. Maxime
    Maxime avatar
    4 posts
    Member since:
    Apr 2011

    Posted 18 Sep 2012 Link to this post

    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.
  7. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 21 Sep 2012 Link to this post

    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.

  8. Rachel
    Rachel avatar
    37 posts
    Member since:
    Mar 2008

    Posted 16 Oct 2012 Link to this post

    Any word or workaround on this issue?  I'm seeing the exact same problem.
  9. George
    Admin
    George avatar
    1332 posts

    Posted 22 Oct 2012 Link to this post

    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.

Back to Top
DevCraft banner