Animation extender in ajax example in || Ajax Toolkit Animation Extender control sample in

The following article is showing about Ajax Animation Extender control in
Onething you should remember that, if you use any Ajax toolkit controls in your web page then you must add ScriptManager tag.
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
Create a Web Form named as "AnimatedExtender.aspx".
Copy and paste the following code in your .aspx section.

<html xmlns="">
<head runat="server">
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />

    <asp:LinkButton ID="lnkbtn" OnClientClick="return false;" runat="server">Start Animation</asp:LinkButton>

        <br />
             <asp:Panel ID="Message" runat="server" Width="250px">

     <h2 style="color:#FFF;"></h2>

        <br />
        <asp:AnimationExtender ID="AnimationExtender1" runat="server"TargetControlID="lnkbtn">
                 EndValue="#FFFFFF" /> 

Then run the application and see your Output.


Post a Comment