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

InitialBehavior=Maximize, 1st ok, 2nd WxH

1 Answer 33 Views
Window
This is a migrated thread and some comments may be shown as answers.
Morten
Top achievements
Rank 1
Veteran
Morten asked on 16 Mar 2009, 11:09 AM
From a grid row I open the rwMng window below from different icons.
I'd like the window to maximize whenever it's opened and resize to the defined height and width, if the user clicks the resize button.
When the window is first opened it is maximized.
However, if I close the window and open the window again the window is sized to the defined height and width.
Is it possible to have the window behave as described?

  <telerik:RadWindowManager ID="rwm" runat="server" Skin="Vista" style="z-index:7001" InitialBehavior="Maximize">
    <Windows>
      <telerik:RadWindow ID="rwMng" runat="server" VisibleStatusbar="false" VisibleTitlebar="True" Title="Campaign details management"  
        Height="625px" Width="950px" ReloadOnShow="True" Modal="True" Behaviors="Default" Skin="Vista"
        DestroyOnClose="false" ShowContentDuringLoad="false" />
    </Windows>
  </telerik:RadWindowManager>

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 16 Mar 2009, 12:47 PM
Hello Morten,

InitialBehaviors controls the look of the window only when it is shown for the first time. If you want to have the window maximized every time you open it, you should use the client-side API (maximize()) to maximize the window on every call.


All the best,
Georgi Tunev
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Window
Asked by
Morten
Top achievements
Rank 1
Veteran
Answers by
Georgi Tunev
Telerik team
Share this question
or