how would you do this.

G

Guest

hey all,

i have 2 aspx pages: 1 is a report parm screen and the 2nd contains the
crystal report viewer.

when i the first page loads, i set the parms for the particular report i'd
like to generate and click submit.

The first thing it does is waits a few seconds on the 1st screen (which is
building the dataset) after that it goes to the 2nd screen which stays blank
for a few seconds until the report is finish binding to the dataset.

I'd like to improve the user experience if possible. my first thought was to
have it wait entirely on the 1st screen (but have like a "please wait" gif
animation) and once the report is built entirely, to display the 2nd page.

I've looked an async http handlers and it is kinda starting to make sense a
little but i wanted to get some expert opinions because i'm not sure yet if
async handlers is the answer or not? if so, what would be some psuedocode for
a solution.

thanks,
ari
 
B

Bruce Barker

generally animated gifs won't run during a postback. what you want to do is
start the report generation in a background thread, then have a page poll
(using client script or meta tag) to see if done, then display when done.
google this newgroup for progress bar for examples

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top