You must Sign In to post a response.
  • Category: .NET

    Ajax Update Animation Controle

    Here i am i place 2 update paneel controls and
    2 update animation controles
    2 buttons on each update panels

    hen i click on the second button in second panel the animation wants to effect on the
    second update panell only why happend first and second panels (both happening)

    i was give each animation target controle id is diffrent
    as well as update mode is also conditional but happen both

    please solve the error ??????????????????????????????????????????



    <form id="form1" runat="server">
    <div>
    <asp:ScriptManager ID="ScriptManager2" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
    <asp:Label ID="Label1" runat="server" Text="Label" Width="125px"/>
    <br />
    <asp:Button ID="Button1" runat="server"
    Text="Server Refresh" />
    </ContentTemplate>
    <Triggers>
    <asp:AsyncPostBackTrigger ControlID="Button1" />
    </Triggers>
    </asp:UpdatePanel>
    </div>

    <cc1:UpdatePanelAnimationExtender
    ID="UpdatePanelAnimationExtender1" runat="server"
    TargetControlID="UpdatePanel1">
    <Animations>
    <OnUpdating>
    <FadeOut Duration="1" Fps="30" />
    </OnUpdating>
    <OnUpdated>
    <FadeIn Duration="1" Fps="30" />
    </OnUpdated>
    </Animations>
    </cc1:UpdatePanelAnimationExtender>
     <br />
       <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
    <asp:Label ID="Label2" runat="server" Text="Label" Width="133px"/>
    <br />
    <asp:Button ID="Button2" runat="server"
    Text="Server Refresh" />
    </ContentTemplate>
    <Triggers>
    <asp:AsyncPostBackTrigger ControlID="Button2" />
    </Triggers>
    </asp:UpdatePanel>


    <cc1:UpdatePanelAnimationExtender
    ID="UpdatePanelAnimationExtender2" runat="server"
    TargetControlID="UpdatePanel2">
    <Animations>
    <OnUpdating>
    <FadeOut Duration="1" Fps="30" />
    </OnUpdating>
    <OnUpdated>
    <FadeIn Duration="1" Fps="30" />
    </OnUpdated>
    </Animations>
    </cc1:UpdatePanelAnimationExtender>


    </form>
  • #139696
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <table border="4">
    <tr>
    <td>
    <asp:UpdatePanel ID="up1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
    <asp:Label ID="Label1" runat="server"></asp:Label>
    <asp:Button ID="b1" runat="server" Text="REFRESH"/>
    </ContentTemplate>
    <Triggers>
    <asp:AsyncPostBackTrigger ControlID="b1" EventName="Click" />
    </Triggers>
    </asp:UpdatePanel>
    </td>
    <td>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
    <asp:Label ID="Label2" runat="server"></asp:Label>
    <asp:Button ID="B2" runat="server" Text="REFRESH"/>
    </ContentTemplate>
    <Triggers>
    <asp:AsyncPostBackTrigger ControlID="b2" EventName="Click" />
    </Triggers>
    </asp:UpdatePanel>
    </td>

  • #139701
    IS IT POSSIBLE TO ASSIGN THE UpdatePanelAnimationExtender
    CONTROLE FOR 1 update panel only

    i write 2 panels and 2
    UpdatePanelAnimationExtender
    its not possible to for individually sum colistion will occur

    working only for one panel


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.