No animation on first load

4 posts, 0 answers
  1. Derek Hunziker
    Derek Hunziker avatar
    62 posts
    Member since:
    Sep 2008

    Posted 13 Apr 2010 Link to this post

    Hi there,

    Is it normal for the animation to not work on the first load of a rad window? After the initial load (which just pops up as if animation were set not set), the animations run fine. I'm using 2010.1.309.35.

    <telerik:RadWindowManager ID="RadWindowManager1" runat="server"
            <Windows> 
                <telerik:RadWindow ID="addRadWindow" runat="server" OpenerElementID="<%# addHyperLink.ClientID %>" NavigateUrl="parts/add.aspx" Modal="true" Width="500px" VisibleStatusbar="false" Behaviors="Close, Move" Skin="Simple" Title="Add relationship"
                </telerik:RadWindow> 
            </Windows> 
        </telerik:RadWindowManager> 
     
    <asp:HyperLink ID="addHyperLink" NavigateUrl="#" ToolTip="Add a new relationship" runat="server">Add relationship</asp:HyperLink> 

    Thanks,

    -Derek
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 16 Apr 2010 Link to this post

    Hi Derek,

    Could you please provide more details? The code looks OK but I don't see ShowContentDuringLoad or Animation properties in it so I am not quite sure what exactly is not working.


    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.
  3. dlewis
    dlewis avatar
    13 posts
    Member since:
    Aug 2009

    Posted 27 May 2010 Link to this post

    I've got the exact same problem.  It gets worse when you have autosize used in conjunction with the animation.
  4. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 02 Jun 2010 Link to this post

    Hello Dlewis,

    In order to make the auto size feature of the RadWindow control to work properly, you need to add this CSS declaration inside the head tag of the content page (the one which is opened in RadWIndow):
    <style type="text/css">
        /* These settings are required in order to AutoSize to work properly */
        html, body, form
        {
            margin: 0px;
            padding: 0px;
            height: 100%;
        }
    </style>


    In case, however, that the suggested do not help, could you please rework the attached sample in order to replicate the problem, open a new support ticket and send it back? Also, please send me some screenshots of the behavior on your side. Once I have a closer view over the problem that you experience I will do my best to provide a solution as soon as possible.


    Greetings,
    Fiko
    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.
Back to Top