Ajax Control ToolkitAjax Control Toolkit Samples & Demos

Ajax contorl toolkit UpdatePanelAnimation Demonstration

UpdatePanelAnimation Demonstration
4/28/1906 12:00:00 AM
Choose the effects, then press 'Update':

UpdatePanelAnimation Description

The UpdatePanelAnimationExtender is a simple extender that allows you to utilize the powerful animation framework with existing pages in an easy, declarative fashion. It is used to play animations both while an UpdatePanel is updating and after it has finished updating.

It is important to note that because of the UpdatePanel architecture, the OnUpdating animation will always play when any partial postback starts, but the OnUpdated animation will only play at the end of a partial postback if its UpdatePanel was changed (note: setting the UpdatePanel's UpdateMode="Always" will ensure the OnUpdated animation plays when every partial postback completes).

The animations to be played are declaratively specified using XML. You can read the Using Animations walkthrough for more details about creating these generic animation declarations, as well as other ways to use the animation framework. The framework provides a lot of useful animations to handle movement, resizing, fading, etc. All the animations and their properties are described in the Animation Reference.

UpdatePanelAnimation Properties
The UpdatePanel animation behavior can be applied with the following extender (the italic properties are optional, and the ellipses represent a generic animation description):
<ajaxToolkit:UpdatePanelAnimationExtender ID="ae"
  runat="server" TargetControlID="up" 
  AlwaysFinishOnUpdatingAnimation="true" >
        <OnUpdating> ... </OnUpdating>
        <OnUpdated> ... </OnUpdated>
  • TargetControlID - ID of the UpdatePanel whose updates are used to play the animations (this is also the default target of the animations)
  • OnUpdating - Generic animation played as when any UpdatePanel begins updating
  • OnUpdated - Generic animation played after the UpdatePanel has finished updating (but only if the UpdatePanel was changed)
  • AlwaysFinishOnUpdatingAnimation - Optional property which makes sure Onupdated event will fire only after completion of onUpdating event.

Ajax control toolkit UpdatePanelAnimation example with demo in asp .net

In this asp .net tuotiral you will learn about ajax control toolkit UpdatePanelAnimation,ajax control toolkit UpdatePanelAnimation Extender,ajax control toolkit pie chart sample,ajax control toolkit UpdatePanelAnimation Demo,ajax control toolkit UpdatePanelAnimation with database,ajax control toolkit UpdatePanelAnimation tutorial