Setting WindowStartupLocation to CenterScreen may not always show the window centered unless a width and height are specified

2 posts, 0 answers
  1. Mike
    Mike avatar
    17 posts
    Member since:
    Jul 2010

    Posted 17 Aug 2010 Link to this post

    Hi.

    Using RadControls_for_Silverlight_4_2010_2_0812 and an out-of-browser silverlight application, setting WindowStartupLocation to CenterScreen may not always show the RadWindow centered unless a width and height are specified on the RadWindow.

    I tried setting WindowStartupLocation in xaml, code-behind, and both without specifying a width and height on the RadWindow and the RadWindow would show up in the bottom right-hand corner of the silverlight application at random times, but most of the time it would be centered as expected.

    After specifying width and height values in the RadWindow's xaml, the RadWindow would always appear centered as expected.

    This seems to be a bug, but the work-around seems viable.

    I have not tried setting the width and height value in the RadWindow's code-behind or using a WindowStartupLocation of CenterOwner for example to test for different behaviors.

    Thank you.
  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 20 Aug 2010 Link to this post

    Hello Mike,

     Could you please open a support ticket provide us a sample project that reproduces the issue and some instructions when this happens and how often if it happens randomly? This would help us investigate what the problem is and fix it.

    Sincerely yours,
    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 banner
Back to Top