Pages

Tuesday, 22 May 2012

Resizing a panel using animation extender in asp.net

This one is quite similar to what we learned in my last post about moving a panel using animation extender. Just don’t forget to set the coordinates for this panel as the animation extender uses them to assign the new location.
Now just add this to your code, just like we did before.

<Resize Duration=".5" FPS ="30" Height = "300" Width = "300" unit ="px"/>


Duration : Duration of the animation
FPS : Frames per second
Height : Desired final height of the panel
Width : Desired final width of the panel
Unit : Unit of height and Width mentioned

Simple right?

No comments:

Post a Comment