0

I have this update pannel

   <asp:ScriptManager ID="ScriptManager1" runat="server">
   </asp:ScriptManager>  

   <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
     <ContentTemplate>


        <asp:Timer ID="Timer1" runat="server" OnTick="Timer1_Tick">
            </asp:Timer>

     </ContentTemplate>
   <Triggers>
            <asp:AsyncPostBackTrigger  ControlID="Timer1" EventName="Tick" />
    </Triggers>
    </asp:UpdatePanel>

This update panel updates each 2 minutes.

I have a javascript functions that fills the data into a canvas, I wan this javascript function to be fired each time this update panel updates.

how to do that please?

where should I put the script? maybe inside the update panel

thanks in advance

1 Answer 1

1

I believe you will find the solution in this thread: How to have a javascript callback executed after an update panel postback?

put it inside function pageLoad(sender, args) { ... }

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.