Last Updated: 03 Nov 2020 13:55 by ADMIN
Created on: 12 Feb 2013 06:56
Category: Window
Type: Bug Report
rad window restrictionzone issue
I have a radwindow which opens as a modal popup when a button is clicked, in the initial stages the rad window was able to be dragged towards right and bottom, of the screen, even out of the screen bounds, i managed to fix that by setting the KeepInScreenBounds="true" RestrictionZoneID="dvContainerMain", where "dvContainerMain" is the main div within which all the parent controls come
but now when i resize the parent browser window to almost size less than radwindow size, rad window seems to behave weird, am not able to resize the radwindow even if the resize behavior  is set
Please let me know on this issue, 
seems like there is a bug when the RestrictionZoneID width is less than or close to the radwindow size 

Tony Thomas
1 comment
Posted on: 03 Nov 2020 13:55

Hi Tony,

This is a known limitation of the RestrictionZone functionality and can be also replicated on https://demos.telerik.com/aspnet-ajax/window/examples/restrictionzone/defaultcs.aspx

Please remove the KeepInScreenBounds property, as this is not necessary when there is a restriction zone, the RadWindow is anyway limited to this zone. Moreover, in small viewport sizes there would be issues, as 1) the restrictionzone could become insufficient to contain the RadWindow, 2) its position in the zone is not certain and when the browser is resized towards a smaller size and the zone's size changes the RadWindow may be placed outside of it. This is an incorrect scenario and is also the reason why we do not support restriction zones with dynamic sizes. Generally, there is no event that can be used to recalculate their size if it changes and also the RadWindow moving by itself so that it stays inside the zone would be unexpected behavior for the end-user.

Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.