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

Radwndow Css Issue

1 Answer 18 Views
Window
This is a migrated thread and some comments may be shown as answers.
rajesh
Top achievements
Rank 1
rajesh asked on 30 Nov 2011, 09:05 AM
hi sir,

iam getting an issue of radwindow, when cursor placed on radwindow and dragging...parent page height is growing on....as shown in attached image ...when we inspected that in mozilla 

<div style="position: absolute; left: 0px; top: 0px; background-color: rgb(170, 170, 170); opacity: 0.5; z-index: 3000; width: 1007px; height: 4431px;unselectable="on"; class="TelerikModalOverlay"> </div>
here the height is increasing dynamically...cant we fixed the height to the parent page height.... please give me a solution for this as soon as possible ...i tried very hard for it ... its urgent... 

Thanks 
Rajesh 

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 30 Nov 2011, 04:54 PM
Hi Rajesh,

This is expected behavior of RadWindow. Its modal overlay is sized according to the page, and if you drag the window out of the screen bounds the page grows dynamically to be able to display the element when you stop dragging it.

To prevent this to occur you need to set KeepInScreenBounds property of RadWindow to true, e.g.:
<telerik:RadWindow ID="testRadWindow" VisibleOnPageLoad="true" Modal="true" KeepInScreenBounds="true"runat="server">
    <ContentTemplate>
        Sample Content</ContentTemplate>
</telerik:RadWindow>


Regards,
Dobromir
the Telerik team
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 their blog feed now
Tags
Window
Asked by
rajesh
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or