Window opening position keeps changing

2 posts, 0 answers
  1. Britto
    Britto avatar
    3 posts
    Member since:
    Dec 2010

    Posted 10 May 2011 Link to this post

    I have created a UserControl as a RadWindow and showing or closing the window manually from code behind.

    The poroperties of the RadWindow are below 
    this.Header = "Case Calendar";
    this.RestoreMinimizedLocation = true;
    this.ResizeMode = Telerik.Windows.Controls.ResizeMode.CanMinimize;
    this.WindowStartupLocation = Telerik.Windows.Controls.WindowStartupLocation.Manual;
    this.Left = 330;
    this.Top = 125;
    this.IsRestricted = true;


    But when every time I do the window.Show() the RadWindow is not repecting my Left and Top properties and opens in a different position. Moreover if I move the window and close it and open it again it is now opened in a different position where it was closed from.

    But if I comment out the last line this.IsRestricted = true; then the RadWindow works as expected. When I first open it respects my Left and Top property settings and if I move it, close it and open it again it opens in the position where it was closed. But ofcourse now the RadWindow is not restricted to my boundaries and can be dragged of the screen, which gives a bad user experience.

    Can you confirm this is a bug or is there a workaround.


  2. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 12 May 2011 Link to this post

    Hello Britto,

     This is an issue in the RadWindow's restriction logic. We logged the issue and we will fix it for the Q2 release.

    Miroslav Nedyalkov
    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
  3. DevCraft R3 2016 release webinar banner
Back to Top