How to set the priority of events in a buttonclick?
<p>Here I need to call a javascript function first and after some time I need to call a c# function on the same button click event. Is it possible?</p>

<pre><code> &lt;asp:ImageButton ID="imgBTNExportPPT" runat="server" Width="15" Height="15" border="0" 
 OnClientClick="JavaScript:exportCharts('JPG');" OnClick="imgBTNExportPPT_Click" ImageUrl="~/Images/PPT_icon.png" /&gt;
</code></pre>

<p>Any suggestion?</p>
