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

Opening large windows

2 Answers 41 Views
Window
This is a migrated thread and some comments may be shown as answers.
Julian
Top achievements
Rank 1
Julian asked on 18 Sep 2013, 11:59 AM
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 Answers, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 18 Sep 2013, 01:06 PM
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.
0
Julian
Top achievements
Rank 1
answered on 18 Sep 2013, 04:22 PM
Thanks, that worked.
Tags
Window
Asked by
Julian
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Julian
Top achievements
Rank 1
Share this question
or