Cannot turn off initial behaviors

3 posts, 0 answers
  1. Clive Hoggar
    Clive Hoggar avatar
    348 posts
    Member since:
    Nov 2008

    Posted 12 Oct 2009 Link to this post

    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. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 12 Oct 2009 Link to this post

    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.
  3. Clive Hoggar
    Clive Hoggar avatar
    348 posts
    Member since:
    Nov 2008

    Posted 12 Oct 2009 Link to this post

    Thanks. I should have seen this. I think I'll get some new spectacles.
Back to Top