473,405 Members | 2,344 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Run a Long running Report.

I have a scenario where on my page(reports.aspx) I submit a report request to a class(ReportWritter.cs) in a web app. The class in turn uses a webservice to submit this job to the DB(Oracle 10g). The service returns me only the JobID. The class then uses the JobId and polls on a DB table(Jobs_Queue) to check if this job is completed or not. If it is completed, it returns a path where the pdf is saved to the calling page. The calling page then uses Javascript to open the path in a new Window...phew

ReportWritter uses thread.sleep(5000) while polling for report to finish.

My Goal, I want the user to submit this report request, and be able to go on any other page in my application and continue working while the report executes and pop-up in a new window.

Currently, I can open a new window(ReportLauncher.aspx) on report submission, but while the new window is waiting for the report path, the calling window(reports.aspx) is not usable, if I try to click on anything it keeps waiting, as soon as the report is opened, reports.aspx starts functioning.

I want to be able to isolate these two windows and make them work asynchronously (in parallel).

Any Thoughts? Any Ideas? Anything would be appreciated..
Jun 23 '10 #1
0 1113

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Bob Murdoch | last post by:
I'm developing an intranet application using W2k server and IE5.5 - 6.x clients. I've got one particular function that calls a stored procedure to update a number of records, depending on user...
1
by: Richard A. DeVenezia | last post by:
I have a function that will update a divs innerHTML with the result of a long running loop. I would like to update the div prior to running the loop so the person knows it is doing something....
29
by: pb648174 | last post by:
I have a very long transaction that runs on the same database that other users need to use for existing data. I don't care if they see data from the transaction before it is done and am only using...
5
by: PontiMax | last post by:
Hi, when I press the OK button of my dialog box a long-running task is initiated. Therefore I would like to make visible a div section right after clicking the button where a user-friendly...
1
by: Anonieko | last post by:
Query: How to display progress bar for long running page Answer: Yet another solution. REFERENCE: http://www.eggheadcafe.com/articles/20050108.asp My only regret is that when click the...
1
by: Aaron West | last post by:
Try this script to see what queries are taking over a second. To get some real output, you need a long-running query. Here's one (estimated to take over an hour): PRINT GETDATE() select...
6
by: enreil | last post by:
So I'm working on a Windows Forms for VB.NET in VS 2005 that is highly computational. It gets a ton of data from a database and eventually spits out a report based on the data. Because of the time...
14
by: lmttag | last post by:
Hello. We're developing an ASP.NET 2.0 (C#) application and we're trying to AJAX-enable it. We're having problem with a page not showing the page while a long-running process is executing. So,...
0
by: nkumarin001 | last post by:
Hi, A user is there who logsin and logsout at different time so each time there is a different session ID so how can i register that particular user session with the V$SESSION_LONG_OPS view to...
4
by: commander_coder | last post by:
Hello, I write a lot of CGI scripts, in Python of course. Now I need to convert some to long-running processes. I'm having trouble finding resources about the best practices to do that. ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.