Solved

ASP.Net Number of records processed

Posted on 2013-05-22
2
220 Views
Last Modified: 2013-05-26
Hi,

I want to show a progress on ASP.net 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,
Rikin
0
Comment
Question by:Rikin Shah
2 Comments
 
LVL 27

Accepted Solution

by:
Chinmay Patel earned 500 total points
ID: 39190216
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

Alternatively
 - 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.

Regards,
Chinmay.
0
 
LVL 16

Expert Comment

by:Rose Babu
ID: 39197406
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now