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

Changing restrictionZone size dynamically

1 Answer 44 Views
Window
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 11 Oct 2012, 02:43 PM
Can the restrictionZone size be changed dynamically if the browser size is changed?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 12 Oct 2012, 05:49 AM
Hi Tom,

One suggestion is that you can set the KeepInScreenBounds property of RadWindow to true as follows.

ASPX:
<div id="RestrictionZone" class="restrictionZone" style="width: 100%; height: 100%">
            <!-- / -->
</div>
<telerik:RadWindowManager EnableShadow="true" Behaviors="Close, Move, Resize,Maximize" ID="RadWindowManager" DestroyOnClose="true" KeepInScreenBounds="true" RestrictionZoneID="RestrictionZone" Opacity="99" runat="server" Width="100%" Height="100%">
  <Windows>
     <telerik:RadWindow ID="RadWindow1" VisibleOnPageLoad="true"  Title="Telerik" NavigateUrl="http://www.telerik.com" runat="server">
     </telerik:RadWindow>
  </Windows>
</telerik:RadWindowManager>

Please take a look into the following forum threads for more information.
RadWindow + Restriction Zone
Taskbar like in windows

Please elaborate your scenario if it doesn't helps.

Regards,
Princy.
Tags
Window
Asked by
Tom
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or