Dynamic RadWindow and RadHtmlPlaceHolder

3 posts, 0 answers
  1. Carlo Vazquez
    Carlo Vazquez avatar
    2 posts
    Member since:
    Jun 2005

    Posted 09 Nov 2012 Link to this post

    Hello,

    I have a silverlight application, there is a lot of buttons, every time that the user click to these diferent buttons the application shows a new windows with diferent links, everything looks ok, but when i move the position of the window, the content of the window moved disappear.
     
    And then, after click many times to the windows opened, it show the content again.

    Do you have an idea of what could be happen?

    The version that i'm using is 2012.1.215.1050.
  2. Carlo Vazquez
    Carlo Vazquez avatar
    2 posts
    Member since:
    Jun 2005

    Posted 09 Nov 2012 Link to this post

    <Grid x:Name="LayoutRoot" Background="White">
        <Button Content="Abercrombie" Height="23" HorizontalAlignment="Left" Margin="138,66,0,0" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click" />
        <Button Content="Yahoo" Height="23" HorizontalAlignment="Left" Margin="138,104,0,0" Name="button2" VerticalAlignment="Top" Width="75" Click="button2_Click" />
        <Button Content="Telerik" Height="23" HorizontalAlignment="Left" Margin="138,144,0,0" Name="button3" VerticalAlignment="Top" Width="75" Click="button3_Click" />
    </Grid>
    private void button1_Click(object sender, RoutedEventArgs e)
            {
                OpenNewWindow("http://www.abercrombie.com");
      
            }
      
      
            private void button2_Click(object sender, RoutedEventArgs e)
            {
                OpenNewWindow("http://www.yahoo.com");
                  
            }
      
            private void button3_Click(object sender, RoutedEventArgs e)
            {
                OpenNewWindow("http://www.telerik.com");
            }
      
            private static void OpenNewWindow(string url)
            {
                RadHtmlPlaceholder htmlPlaceholder = new RadHtmlPlaceholder();
      
                htmlPlaceholder.SourceUrl = new Uri(url);
      
                RadWindow rw = new RadWindow();
      
                rw.Content = htmlPlaceholder;
      
                rw.Show();
            }
  3. DevCraft banner
  4. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 14 Nov 2012 Link to this post

    Hi,

    We looked into this scenario and it seems there is a bug in the control when showing multiple RadWindows with HtmlPlaceholder as a content.

    We logged the issue in our Public Issue Tracker System where you can vote for it and track its status.

    All the best,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top