Opening large windows

3 posts, 1 answers
  1. Julian
    Julian avatar
    11 posts
    Member since:
    Dec 2011

    Posted 18 Sep 2013 Link to this post

    Hi, the issue - opening rad window with large height, or rather, when the height is greater than the browser window.

    What happens is that the rad window is pushed up and the top title bar (the bar withe title and close buttons etc) is now longer visible in the browser. Even when maximising.

    The issue can be reproduced here in Firefox

    http://demos.telerik.com/aspnet-ajax/window/examples/minmaxsize/defaultcs.aspx

    Submit a height/width of say 1500x1500.
  2. Answer
    Marin Bratanov
    Admin
    Marin Bratanov avatar
    3596 posts

    Posted 18 Sep 2013 Link to this post

    Hi Julian,

    By default, a RadWindow attempts to center in the viewport, so if it is larger than the available space it should be expected that it will hide under the browser chrome.

    What I can suggest as a simplest way of avoiding this behavior is setting the KeepInScreenBounds property of the RadWindow (or, on a more global level, the RadWindowManager) to true. This will keep the top left corner in the viewport.


    Regards,
    Marin Bratanov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Julian
    Julian avatar
    11 posts
    Member since:
    Dec 2011

    Posted 18 Sep 2013 Link to this post

    Thanks, that worked.
Back to Top