Este es un ejemplo probado de un UpdatePanelAnimationExtender de Ajax.
Cuando el UpdatePanel ha sido actualizado este ejemplo hace un fade out y luego un fade in al contenido de un tag DIV.
Te servirá de base para experimentar.
VerPostal.aspx
ASP:
-
<asp:ScriptManager id="ScriptManager1" runat="server"> </asp:ScriptManager>
-
<asp:UpdatePanel id="UpdatePanel1" runat="server">
-
<contenttemplate>
-
<DIV style="BACKGROUND-COLOR: silver">
-
<asp:Label id="Label1" runat="server" Text="Label"> </asp:Label>
-
<BR />
-
<asp:Button id="Button1" onclick="Button1_Click" runat="server" Text="Button"> </asp:Button>
-
<BR />
-
<BR />
-
<BR />
-
<BR />
-
<BR />
-
</DIV>
-
</contenttemplate>
-
</asp:UpdatePanel>
-
<cc1:UpdatePanelAnimationExtender id="UpdatePanelAnimationExtender1" runat="server"
-
TargetControlID="UpdatePanel1">
-
<animations>
-
<OnUpdated>
-
<Sequence>
-
<FadeOut Duration=".2" Fps="30" />
-
<FadeIn Duration=".2" Fps="30" />
-
</Sequence>
-
</OnUpdated>
-
</animations>
-
</cc1:UpdatePanelAnimationExtender>
VerPostal.aspx.vb
VB.NET:
-
Partial Class VerPostal
-
Inherits System.Web.UI.Page
-
-
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
-
Label1.Text = Now.ToString
-
End Sub
-
-
End Class
Más información:
http://ajax.asp.net/ajaxtoolkit/UpdatePanelAnimation/UpdatePanelAnimation.aspx