Home / AJAX

Page History: Animation Reference

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2010/05/04 04:05


AnimationExtender Server Reference

Extender used to play animations when a control's events fire

AnimationExtender Server Properties

NameDescription
OnClick OnClick Animation
OnHoverOut OnHoverOut Animation
OnHoverOver OnHoverOver Animation
OnLoad OnLoad Animation
OnMouseOut OnMouseOut Animation
OnMouseOver OnMouseOver Animation

AnimationExtender Server Methods

NameDescription
OnPreRender(System.EventArgs) Change any AnimationTarget references from server control IDs into the ClientIDs that the animation scripts are expecting.

AnimationBehavior Client Reference

The AnimationBehavior allows us to associate animations (described by JSON) with events and have them play when the events are fired. It relies heavily on the AJAX Control Toolkit animation framework provided in Animation.js, and the GenericAnimationBehavior defined below.

AnimationBehavior Client Properties

NameDescription
OnClickGeneric OnClick Animation's JSON definition
OnClickBehaviorGeneric OnClick Animation's behavior
OnHoverOutGeneric OnHoverOut Animation's JSON definition
OnHoverOutBehaviorGeneric OnHoverOut Animation's behavior
OnHoverOverGeneric OnHoverOver Animation's JSON definition
OnHoverOverBehaviorGeneric OnHoverOver Animation's behavior
OnLoadGeneric OnLoad Animation's JSON definition
OnLoadBehaviorGeneric OnLoad Animation's behavior
OnMouseOutGeneric OnMouseOut Animation's JSON definition
OnMouseOutBehaviorGeneric OnMouseOut Animation's behavior
OnMouseOverGeneric OnMouseOver Animation's JSON definition
OnMouseOverBehaviorGeneric OnMouseOver Animation's behavior

AnimationBehavior Client Methods

NameDescription
dispose Dispose of the animations/handlers
initialize Setup the animations/handlers
OnClick Play the OnClick animation
OnMouseOut Play the OnMouseOver/OnHoverOver animations
OnMouseOver Play the OnMouseOver/OnHoverOver animations