how to call a javascript fn in Update panel on Partial postback in asp.net
<pre><code>       &lt;asp:UpdatePanel runat="server" ID="Holder" OnLoad="" UpdateMode="Always" ChildrenAsTriggers="True"&gt;
                &lt;ContentTemplate&gt;
...
                   &lt;asp:Timer ID="Timer1" runat="server" Interval="3000" OnTick="Timer_Tick" /&gt;
            &lt;/ContentTemplate&gt;
        &lt;/asp:UpdatePanel&gt;
</code></pre>

<p>JS:</p>

<pre><code>window.onload = function () {
          r.init();
        };
</code></pre>

<p>when the page loads the r.init() [to draw graph] is executed. But when the page partial post back happens the graph is not drawn again. How to fire the JS when the update panel isFinite updated</p>
