How to Show the progressbar like incremental status updates for long requests

demoney420

New Member
I have to send the longtime request to server in my Asp.net application, that request i called 4 services, each service take max of 1min , so i want to show prograssbar which service is completed , i searched one link Example, it is correct about my concept but that link using iframe to load another page that page write method like \[code\]protected void UpdateProgress(int PercentComplete, string Message){ // Write out the parent script callback. Response.Write(String.Format( "<script>parent.UpdateProgress({0}, '{1}');</script>", PercentComplete, Message)); // To be sure the response isn't buffered on the server. Response.Flush();}\[/code\]In this code to call javascript function in parent aspx page to update details , but i have in same page to handle that concept , i removed "Parent." in my code get the error object expected how to write the code in single page
 
Back
Top