radwindow autoflow

2 posts, 0 answers
  1. Kevin
    Kevin avatar
    265 posts
    Member since:
    Jun 2011

    Posted 08 Apr 2014 Link to this post

    We just ran into a problem with radwindows that we did not anticipate.  What happens is we design our programs for 22in wide screen monitors, but sometime personnel use thier labtop screen instead when not in office so what happens is the the radwindows pop up but are bigger then the screen they are on and they cannot get at the close buttons or some of the functionality of the window, beucase is was designed for a larger screen then they are working on.  How can we change this with regrad to Radwindow size so that an autoflow will come on if screen size is differrent then the default.

    <telerik:RadWindowManager ID="rwManager" runat="server" Skin="Web20" Behaviors="Close" CssClass="rwWindowContent" style="z-index:30000" ShowContentDuringLoad="false" ReloadOnShow="true" VisibleStatusbar="false">
                       <telerik:RadWindow ID="rwdelete" runat="server" NavigateUrl="~/MAC/Delete.aspx" Width="600px" Height="300px" OnClientClose="RefreshParentPage"></telerik:RadWindow>
                       <telerik:RadWindow ID="rwChange" runat="server" NavigateUrl="~/MAC/Change.aspx" Width="700px" Height="680px" OnClientClose="RefreshParentPage"></telerik:RadWindow>
                       <telerik:RadWindow ID="rwNew" runat="server" NavigateUrl="~/MAC/NewUser.aspx" Width="700px" Height="800px" OnClientClose="RefreshParentPage"></telerik:RadWindow>
                       <telerik:RadWindow ID="rwInfo" runat="server" Modal="true" NavigateUrl="Info.aspx" Width="1000px" Height="800px" OnClientClose="closeWindow"></telerik:RadWindow>
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 09 Apr 2014 in reply to Kevin Link to this post

    Hi Kevin,

    Please try to set the AutoSize property of RadWindow to true. It will resize the window according to the size of the content page. If the content page dimensions are bigger than the parent one, RadWindow will fill the browser and render scroll bars for viewing the rest of the content page.
    RadWindow also supports a property called AutoSizeBehaviors that allows to get the better control over the auto sizing functionality. This property will accept the values like Default, Width, WidthPropotional, Height and HeightPropotional. If it is Default, RadWindow resizes itself proportionally by width and height and changes its position accordingly to the new size. If it is set to width or Height, the window is sized to the left or to the bottom only, without changing the control's position.

  3. DevCraft R3 2016 release webinar banner
Back to Top