I have a question about how to use JQuery progress bar to wait until long process finished.
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:
Int32 val = Int32.Parse(Request.QueryString["PLCID"].ToString());
String _MachineName = String.Empty;
_MachineIP = String.Empty;
DBLayer.getMachineByPLCID(val, out _MachineName, out _MachineIP);
I need to show progress bar for the user and prevent him from taking any action till the process finished.
please help!