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

Minimize zone not honored on page load

1 Answer 44 Views
Window
This is a migrated thread and some comments may be shown as answers.
zAxis
Top achievements
Rank 1
zAxis asked on 29 Mar 2011, 03:28 PM
I have a RadWindow declared with

 

 

VisibleOnPageLoad="True"
MinimizeZoneID="CatalogZone"
InitialBehaviors="Minimize"
Behaviors="Move,Minimize"
KeepInScreenBounds="True"
OffsetElementID="CatalogZone"

It does not honor the minimize zone on page load. Once I manually restore and minimize the window, it works properly. How can I get it to display in the minimize zone on initial page load?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 31 Mar 2011, 11:57 AM
Hello Wayne,

I have tried reproducing this behavior but to no avail. Here is the code I am using:
<div>
  <div style="position: absolute; left: 50px; top: 50px; background: black; width: 100px; height: 100px;" id="CatalogZone"></div>
  <asp:ScriptManager ID="Scriptmanager1" runat="server" />
  <telerik:RadWindow runat="server" ID="RadWindow1" VisibleOnPageLoad="true" MinimizeZoneID="CatalogZone" InitialBehaviors="Minimize"
                     Behaviors="Move,Minimize,Resize,Close" KeepInScreenBounds="True" OffsetElementID="CatalogZone" Top="150px" Left="250px"></telerik:RadWindow>
  <asp:Button ID="Button1" Text="postback" runat="server" />
</div>
And here is a video from my experiment: http://screencast.com/t/p7ARMRLcn4d5.
Am I missing something? Please modify my code until it displays this issue and send it back so I can pinpoint the cause.


All the best,
Marin
the Telerik team
Tags
Window
Asked by
zAxis
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or