<asp:UpdatePanel ID="UpdatePanel133" runat="server" > <ContentTemplate> <asp:Panel ID="ss" runat="server" style=" width:544px; height:333px; background-color:Red; margin-left:230px; top:312px"> </asp:Panel> <asp:Button ID="Animate" runat="server" OnClick="ClickToAnimate" Text="ClickToAnimate" BackColor="Green" style=" margin-left:12px; height:24px" /> <asp:AnimationExtender id="MyExtender" runat="server" TargetControlID="ss"> <Animations> <OnClick> <FadeOut Duration=".5" Fps="20" /><%-- FadeIn =".1" Fps="10"/>--%> </OnClick> </Animations> </asp:AnimationExtender> </ContentTemplate> </asp:UpdatePanel>
protected void ClickToAnimate(object sender, EventArgs e) { }
$('#<%=UpdatePanel133.ClientID %>').fadeIn(); $('#<%=UpdatePanel133.ClientID %>').fadeOut();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)