Link to home
Start Free TrialLog in
Avatar of Unzip_The_Ripper
Unzip_The_RipperFlag for United States of America

asked on

AJAX Resize Animation

I have an AJAX update panel that I'm resizing with the "OnUpdating" event.  I resize the height, but then when the "OnUpdated" event runs, I can't figure out how to resize the panel to the original height, which is different everytime the pages loads, depending on the amount of data for the specified user account.

My question is, "How do I get the update panel to resize to the original size using the 'UpdatePanelAnimationExtender' extender when the 'OnUpdated' event runs."


<cc1:UpdatePanelAnimationExtender ID="UpdatePanelAnimationExtender1" TargetControlID="UDPExposedCoverage" runat="server">
            <Animations >
                <OnUpdating> 
                    <Sequence>
                        <EnableAction Enabled="false" />
                          <Parallel Duration=".2" fps="24">
                              <Resize Height=".01" Unit="px" />
                          </Parallel>
                    </Sequence>
                </OnUpdating>
                <OnUpdated>
                    <Sequence>
                        <EnableAction Enabled="true" />
                          <Parallel Duration=".2" fps="24">
                              <Resize Height="100" Unit="px" />
                          </Parallel>
                    </Sequence>
                </OnUpdated>
            </Animations>
        </cc1:UpdatePanelAnimationExtender>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Unzip_The_Ripper
Unzip_The_Ripper
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial