ASP.NET using JQuery Progress bar
<p>I have a question about how to use JQuery progress bar to wait until long process finished.</p>

<p>I have a web page with a button and when the user hits this button ,some operation on server occurred.  For example inserting records into DB like this:</p>

<pre><code>Int32 val = Int32.Parse(Request.QueryString["PLCID"].ToString());
String _MachineName = String.Empty;
_MachineIP = String.Empty;
DBLayer.getMachineByPLCID(val, out _MachineName, out _MachineIP);
</code></pre>

<p>I need to show progress bar for the user and prevent him from taking any action till the process finished.</p>

<p>please help!</p>
