RadWindows in Xaml

2 posts, 0 answers
  1. Andrea Marchetti
    Andrea  Marchetti avatar
    16 posts
    Member since:
    Jul 2005

    Posted 17 Oct 2011 Link to this post

    I have a big project with many RadWindows. Unfortunately radwindows are included in the Xaml (as in the example below). In the version of RadControls 2011_1 all works. 2011_2 version no longer works. You can no longer use radwindows included in the xaml in 2011_1? Thanks
    ...
        <Grid x:Name="LayoutRoot" Background="White">
            <Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="200,119,0,0" Name="Button1" VerticalAlignment="Top" Width="75" />
            <Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="105,119,0,0" Name="Button1a" VerticalAlignment="Top" Width="75" />
            <Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="305,119,0,0" Name="Button1b" VerticalAlignment="Top" Width="75" />
     
     
            <telerikp:RadWindow x:Name="WindowAttività"  Header="Attività" Width="720" Height="600"  WindowStartupLocation="CenterScreen" Top="50" WindowState="Normal"  Visibility="Collapsed" ResizeMode="NoResize" CanMove="True" BorderThickness="1,0,1,1" d:IsHidden="True" >
                <Canvas>
                    <Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="175,119,0,0" Name="Button2" VerticalAlignment="Top" Width="75" />
                </Canvas>
            </telerikp:RadWindow>
     
     
        </Grid>
    ...
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 17 Oct 2011 Link to this post

    Hi Andrea,

    That's true, placing RadWindow in XAML is not supported since Q2. I would suggest to use the RadWindow as a UserControl, please refer to this article for more detailed information about this approach.

    Hope this helps.

    Best wishes,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
Back to Top