Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

UpdatePanelAnimationExtender

MikhailTymchukDX edited this page Apr 12, 2017 · 4 revisions

Demo Page

UpdatePanelAnimationExtender is an extender that allows you to play animations both while an UpdatePanel is updating and after its update is finished. The animations to be played are declaratively specified by using XML.

Properties

Name Description
AlwaysFinishOnUpdatingAnimation An optional property that makes sure the OnUpdated event will fire only after the onUpdating event is completed
ChildrenAsTriggers An optional property that enables update panel animation if the postback is caused by a panel's immediate children
OnUpdated Generic animation played after the UpdatePanel has finished updating (but only if the UpdatePanel was changed)
OnUpdating Generic animation played as when any UpdatePanel begins updating
TriggerControlsClientID ClientID's of the trigger controls

Methods

Name Description
GetControl(id) Returns the control specified by its ID
GetTargetControl() Returns the UpdatePanel, whose updates are used to play animations (this is also the default target of animations)

Client properties

Name Description
alwaysFinishOnUpdatingAnimation An optional property that makes sure the OnUpdated event will fire only after the onUpdating event is completed
childrenAsTriggers An optional property that enables update panel animation if the postback is caused by a panel's immediate children
onUpdated Generic animation played after the UpdatePanel has finished updating (but only if the UpdatePanel was changed)
onUpdatedBehavior Generic OnUpdated Animation's behavior
onUpdating Generic animation played as when any UpdatePanel begins updating
onUpdatingBehavior Generic OnUpdating Animation's behavior
triggerControlsClientID ClientIDs of the trigger controls
updatePanelClientID Client ID of the target update panel
updatePanelID ID of the target update panel

Client properties

alwaysFinishOnUpdatingAnimation

An optional property that makes sure the OnUpdated event will fire only after the onUpdating event is completed

Getter name: get_alwaysFinishOnUpdatingAnimation()
Setter name: set_alwaysFinishOnUpdatingAnimation(value)

childrenAsTriggers

An optional property that enables update panel animation if the postback is caused by a panel's immediate children

Getter name: get_childrenAsTriggers()
Setter name: set_childrenAsTriggers(value)

onUpdated

Generic animation played after the UpdatePanel has finished updating (but only if the UpdatePanel was changed)

Getter name: get_onUpdated()
Setter name: set_onUpdated(value)

onUpdatedBehavior

Generic OnUpdated Animation's behavior

Getter name: get_onUpdatedBehavior()

onUpdating

Generic animation played as when any UpdatePanel begins updating

Getter name: get_onUpdating()
Setter name: set_onUpdating(value)

onUpdatingBehavior

Generic OnUpdating Animation's behavior

Getter name: get_onUpdatingBehavior()

triggerControlsClientID

ClientIDs of the trigger controls

Getter name: get_triggerControlsClientID()
Setter name: set_triggerControlsClientID(value)

updatePanelClientID

Client ID of the target update panel

Getter name: get_updatePanelClientID()
Setter name: set_updatePanelClientID(value)

updatePanelID

ID of the target update panel

Getter name: get_updatePanelID()
Setter name: set_updatePanelID(value)

Methods

GetControl(id)

Returns the control specified by its ID

Params:

  • id
    • Type: Number
    • Description: ID of the control

GetTargetControl()

Returns the UpdatePanel, whose updates are used to play animations (this is also the default target of animations)

Clone this wiki locally