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

RadWindowManager.Tile() does not respect RestrictionZoneId

1 Answer 52 Views
Window
This is a migrated thread and some comments may be shown as answers.
Sachi Perez
Top achievements
Rank 1
Sachi Perez asked on 23 Jan 2009, 03:58 PM

The Tile command works, but id does not respect the boundaries of the restriction zone. I looked through the forum and Google, but found no answers. Any ideas? Here is a sample.

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="RadWindowRestrictionZones.aspx.vb" 
    Inherits="WidgetsDev.RadWindowRestrictionZones" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<html> 
<head runat="server">  
    <title>Untitled Page</title> 
 
    <script language="javascript">  
function Tile()  
{  
    var mngr = GetRadWindowManager();  
    mngr.tile();  
    return true;  
}      
    </script> 
 
</head> 
<body> 
    <form id="form1" runat="server">  
        <table width="500" height="500">  
            <tr> 
                <td id="theZone" style="background-color: lightyellow">  
                </td> 
            </tr> 
        </table> 
        <input type="button" onclick="Tile();" value="Tile" /> 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
        </telerik:RadScriptManager> 
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server" RestrictionZoneID="theZone" > 
            <Windows> 
                <telerik:RadWindow ID="RadWindow1" runat="server" VisibleOnPageLoad="true">  
                </telerik:RadWindow> 
                <telerik:RadWindow ID="RadWindow2" runat="server" VisibleOnPageLoad="true">  
                </telerik:RadWindow> 
            </Windows> 
        </telerik:RadWindowManager> 
    </form> 
</body> 
</html> 
 

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 23 Jan 2009, 04:14 PM
Hi Sachi,

Yes, you are right, the restriction zone is not respected when the windows are tiled by using the tile() method. The restriction zone is respected from the buttons of the RadWindow which the user can interact with, as Minimize, Maximize, Restore and for the time being we do not plan to extend this functionality further for other, custom scenarios.

Sincerely yours,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Sachi Perez
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or