Radwndow Css Issue

2 posts, 0 answers
  1. rajesh
    rajesh avatar
    15 posts
    Member since:
    Nov 2010

    Posted 30 Nov 2011 Link to this post

    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 

  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 30 Nov 2011 Link to this post

    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
Back to Top