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

Cannot turn off initial behaviors

2 Answers 76 Views
Window
This is a migrated thread and some comments may be shown as answers.
Clive Hoggar
Top achievements
Rank 1
Clive Hoggar asked on 12 Oct 2009, 01:42 PM

Hi

I am having trouble turning off the initial behaviors of a window.  I have this declaration:

<telerik:RadWindow ID="RadWindowLafite" runat="server"   
        NavigateUrl="~/windows/lafite-event.aspx" OpenerElementID="divLafite"   
        Width="570px" Modal="True" Height="600px" InitialBehaviors="Resize"   
        VisibleStatusbar="False" Animation="Fade">  
    </telerik:RadWindow>   

When the window opens, all the behaviors are active, including pin, minimize, maximize, refresh.
In other respects the window is behaving as expected.
Actually I only want to allow resize, and had expected that this setting for initial behviours would
not show the icons for the other behaviors. What am I missing ?

BTW the properties window in VS2008 shows both 'Initial Behavior' and 'Initial Behaviors'

Thanks

Clive

Q2 2009, IIS7, asp.net 3.5, VS2008

2 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 12 Oct 2009, 02:59 PM
Hi Clive,

The InitialBehaviors property sets what should be the initial state of the RadWindow - e.g Maximized. In your case, this setting is not valid - if you want to set the behavior, you should set Behavior="Resize".

Regards,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Clive Hoggar
Top achievements
Rank 1
answered on 12 Oct 2009, 03:43 PM
Thanks. I should have seen this. I think I'll get some new spectacles.
Tags
Window
Asked by
Clive Hoggar
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Clive Hoggar
Top achievements
Rank 1
Share this question
or