Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ASP.Net Number of records processed

Posted on 2013-05-22
2
Medium Priority
?
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Accepted Solution

by:
Chinmay Patel earned 2000 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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

688 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