This is a migrated thread and some comments may be shown as answers.
RadWindows in Xaml
1 Answer 44 Views
This is a migrated thread and some comments may be shown as answers.
Andrea Marchetti
Top achievements
Rank 1
Andrea Marchetti asked on 17 Oct 2011, 12:00 PM
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>
...

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 17 Oct 2011, 12:26 PM
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 >>

Asked by
Andrea Marchetti
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or