ASP.Net Number of records processed


I want to show a progress on page for how many records are processed.

I have tried several things, they worked while running project from Visual Studio but failed when deployed to IIS.

Any new suggestions?

Thanks in advance,
LVL 20
Rikin ShahMicrosoft Dynamics CRM ConsultantAsked:
Who is Participating?
Chinmay PatelConnect With a Mentor Enterprise ArchitectCommented:
Hi rikin_shah,

I generally do not visit this TA but suddenly today I stumbled upon here and hence here it is.
 - Keep a static variable (a dictionary or a list)on page and populate it with SessionID -> records processed.
 - Use a webmethod that will return the progressbar value based on a given sessionId.
 - Call this webmethod using JS and show updated numbers

 - Keep the value in a session variable.
 - Write a page that will do just this: Response.Write(SessionVar); Response.End()
 - On client side using JS call this page and process return value.

Let me know if you have any questions/concerns.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.