play animations both while an UpdatePanel is updating and after it has finished updating

Hi

If you want to show the users some animation with the Update panel is calling back, the new UpdatePanelAnimation control is what you need. To make this work we will have to use the UpdatePanelAnimationExtender. The full code to make the animation is given below.

<atlasToolkit:UpdatePanelAnimationExtender ID="ae" runat="server">
   <atlasToolkit:UpdatePanelAnimationProperties TargetControlID="up">
         <Animations>
            <OnUpdating> ... </OnUpdating>
            <OnUpdated> ... </OnUpdated>
        </Animations>
    </atlasToolkit:UpdatePanelAnimationProperties>
</atlasToolkit:UpdatePanelAnimationExtender>

TargetControlID - ID of the Update Panel whose updates are used to play the animations (this is also the default target of the animations)
OnUpdating - Generic animation played as when an Update Panel begins updating
OnUpdated - Generic animation played after the Update Panel has finished updating

Hope This helps
Thanks
Vikram


Share this post   Email it |  digg it! |  reddit! |  bookmark it!

Feedback

Please post your comments:

Name:  
Email (optional): Your email address will not be posted.
URL (optional):
Comments: HTML will be ignored, URLs will be converted to hyperlinks  
Enter the text you see in the box:
 
Copyright © 2006 - 2009 Vikram Lakhotia