Trouble Setting Initial Width and Height of RadWindow

3 posts, 0 answers
  1. Drew
    Drew avatar
    1 posts
    Member since:
    Apr 2009

    Posted 31 Aug 2009 Link to this post

    My company did a refresh of the Telerik Silverlight controls over the weekend and some of our RadWindow code seems to be no longer functioning correctly.  We use the following lines to set the initial height and width of a RadWindow instaniated from the XAML file named 'dlg':


    string sHeight = Globals.UserSettings.GetValue("ItemViewHeight");


    string sWidth = Globals.UserSettings.GetValue("ItemViewWidth");




    dlg.Height = double.Parse(sHeight);




    dlg.Width = double.Parse(sWidth);






    This code worked fine until the latest version.  Now the RadWindow seems to ignore any values we set in the Height and Width properties and always initializes the window to it's minimum displayable size.  All attempts to save and restore the previous window size are ignored.

    Is anyone else seeing this behavior?

    We are using Silverlight 3, and are obviously using the latest build of the Telerik Silverlight Controls.

    Drew Stoddard
  2. Jamest
    Jamest avatar
    41 posts
    Member since:
    Apr 2007

    Posted 01 Sep 2009 Link to this post

    I am experiencing the same behavior with the latest internal release. Setting the values in XAML or programmatically are ignored as the window takes the size of its contents. (Which in some of my cases a scroll viewer with many items makes it very wide).
  3. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 02 Sep 2009 Link to this post

    Hello all,

    We are aware of this issue. It was fixed and it will be included in the next latest internal build (at the end of the week). Hope this time-frame is good for you.

    Kind regards,
    Miroslav Nedyalkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top