RadWindow render result

2 posts, 0 answers
  1. Andre Siqueira
    Andre Siqueira avatar
    1 posts
    Member since:
    Dec 2009

    Posted 16 Jul 2010 Link to this post


    We created the follow RadWindowManager

    <telerik:RadWindowManager
        ID="RadWindowManagerDefault"
        runat="server"
        KeepInScreenBounds="false"
        Width="950px"
        Height="2048px"
        Skin="Office2007"
        RestrictionZoneID="janelas">
    </telerik:RadWindowManager>

    and, on Page_Load we create the RadWindow components:

    int i = 0;
    foreach (EstadoWidgetResp widget in lista)
    {
        radw = new RadWindow();
        radw.ID = "widget-" + widget.IdControle;
        radw.Title = widget.Title;
        radw.ShowContentDuringLoad = true;
        RadWindowManagerDefault.Windows.Add(radw);
        i++;
    }

    the page contains a DIV element as restricted zone for the windows:

    <div id="janelas">       
    </div>

    but, when we look at the rendered HTML (using FireBug extension), whe found:

    [html]
    [head contents]
    [body]
        <form id="aspnetForm" action="Default.aspx" method="post" name="aspnetForm">
    [DIV of #1 window (RadWindowWrapper_ctl00_)]
    [DIV of #2 window (RadWindowWrapper_ctl00_)]
    ...
    [DIV of #n window (RadWindowWrapper_ctl00_)]
    [body page]
    <div id="janelas">[RadWindowManager element]</div>
    [end of html]

    So, when we resize the browser window, the RadWindows still fixed, but, as a DIV element the 'expected' behaviour was: the RadWindow moves with the DIV (id="janelas") because, we expected that the RadWindows render was insed of restricted zone element.

    Can we render the RadWindows inside the DIV[id="jalelas"] element ?

    Thanks in advance,
    André

  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 21 Jul 2010 Link to this post

    Hi Andre,

    With the current implementation, RadWindow's restriction zone can be set only once and RadWindows will use the coordinates of the original restriction zone. We are planning to improve that behavior, but this will happen in a future version of the control.

    Regards,
    Georgi Tunev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top