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

Dynamic RadWindow and RadHtmlPlaceHolder

2 Answers 24 Views
Window
This is a migrated thread and some comments may be shown as answers.
Carlo Vazquez
Top achievements
Rank 1
Carlo Vazquez asked on 09 Nov 2012, 06:55 PM
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 Answers, 1 is accepted

Sort by
0
Carlo Vazquez
Top achievements
Rank 1
answered on 09 Nov 2012, 07:20 PM
<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();
        }
0
Vladi
Telerik team
answered on 14 Nov 2012, 01:45 PM
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.

Tags
Window
Asked by
Carlo Vazquez
Top achievements
Rank 1
Answers by
Carlo Vazquez
Top achievements
Rank 1
Vladi
Telerik team
Share this question
or