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

RadWindow render result

1 Answer 25 Views
Window
This is a migrated thread and some comments may be shown as answers.
Andre Siqueira
Top achievements
Rank 1
Andre Siqueira asked on 16 Jul 2010, 07:52 PM

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é

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 21 Jul 2010, 03:40 PM
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
Tags
Window
Asked by
Andre Siqueira
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or