Solved

ASP.Net Number of records processed

Posted on 2013-05-22
2
219 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 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

14 Experts available now in Live!

Get 1:1 Help Now