How To Use UpdatePanelAnimationExtender in ASP.net

We can use the Update panel Animation extender to play animation both while the
update panel is updating and also when the update panel has finished updating.
This can help us interact with the user while there is a call back in process and
we can use the existing Animation framework to provide users with good
interactivity while the call back is in process and also when the call back has
completed.
The code to use the UpdatePanelAnimation Extender looks like this.

<ajaxToolkit:UpdatePanelAnimationExtender ID="upae" BehaviorID="animation" runat="server"
          TargetControlID="updatePanel">
          <Animations>
                  <OnUpdating>
                       <Parallel duration="0">
                          
                          <ScriptAction Script="onUpdating();" />
                         </Parallel>
                   </OnUpdating>
                  <OnUpdated>
                      <Parallel duration="0">
                         
                          <ScriptAction Script="onUpdated();" />
                      </Parallel>
                  </OnUpdated>
          </Animations>
      </ajaxToolkit:UpdatePanelAnimationExtender>
Here the TargetControlID is the ID of the UpdatePanel whose updates will be used to show animation.OnUpdating and OnUpdated tags contain the generic animation that will be played.
Reactions

Post a Comment

1 Comments

  1. Very informative post. Its really helpful for me and beginner too. Check out this link too its also having a nice post with wonderful explanation on Ajax Toolkit UpdatePanelAnimationExtender Control in ASP.Net.....

    http://mindstick.com/Articles/357a2919-cdb3-4e5f-8c42-8df13c0fbe30/?Ajax%20Toolkit%20UpdatePanelAnimationExtender%20Control%20in%20ASP.Net

    Thanks

    ReplyDelete

Please do not post any spam link in the comment box😊

Emoji
(y)
:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
:>)
(o)
:p
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
x-)
(k)

Close Menu