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

RadWindow Top/Left Properties

1 Answer 88 Views
Window
This is a migrated thread and some comments may be shown as answers.
SHAWN
Top achievements
Rank 1
SHAWN asked on 23 Jun 2011, 10:51 PM
I set the Top & Left properties on a RadWindow to a fixed number, when I have the IsRestricted property set to true. After each click the RadWindow moves to a different location on the screen.

Here is my Xaml:
<Grid x:Name="LayoutRoot" Background="AliceBlue">
     <telerik:RadWindow x:Name="MyRadPopup" Header="Hi Mom!"
                        WindowStartupLocation="Manual" Top="150" Left="150"
                        IsRestricted="True">
         <StackPanel>
             <TextBlock Text="Ouch!" />
         </StackPanel>
     </telerik:RadWindow>
     <Button Content="PopMe" Height="23" Width="75" x:Name="MyButton" Click="MyButton_Click" />
 </Grid>

Here is my code:
public partial class MainPage : UserControl
{
    public MainPage()
    {
        InitializeComponent();
    }
 
    private void MyButton_Click(object sender, RoutedEventArgs e)
    {
        MyRadPopup.ShowDialog();
    }
}

Please note that I open the browser (and thus the silverlight application) full screen, so the Top/Left positioning of 150x150 is not near the edge of the screen.

I upload a copy of the project here (PopupProblem)
https://skydrive.live.com/?cid=80ce78240aa8df49&id=80CE78240AA8DF49%21888

1 Answer, 1 is accepted

Sort by
0
Accepted
Konstantina
Telerik team
answered on 28 Jun 2011, 01:33 PM
Hi Shawn,

We have logged this issue in PITS. You can view it here. You can vote for it, track its status and see when it is going to be implemented.
I can suggest you also to use the RadWindow as a UserControl, this is the recommended way of implementation. You can find more information in this help article.
Your Telerik points have been updated for your involvement.

Kind regards,
Konstantina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Window
Asked by
SHAWN
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or