I have this:
<cc1:UpdatePanelAnimationExtender ID="UpdatePanelAnimationExtender1"
TargetControlID="pnlUpdatePeriodDetails" runat="server">
<Animations>
<OnUpdating>
<Parallel duration="0">
<ScriptAction Script="onUpdating('divLoadingImage', 'divDetailsContent');" />
<EnableAction AnimationTarget="btnInvoke" Enabled="false" />
</Parallel>
</OnUpdating>
<OnUpdated>
<Parallel duration="0">
<ScriptAction Script="onUpdated('divLoadingImage', 'divDetailsContent');" />
<EnableAction AnimationTarget="btnInvoke" Enabled="true" />
</Parallel>
</OnUpdated>
</Animations>
</cc1:UpdatePanelAnimationExtender>
I want to create this animation extender programatically... but I am having trouble. Is it possible? Is it easy?