Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Save MANY versions of a page on the client in one operation?

Reply
Thread Tools

Save MANY versions of a page on the client in one operation?

 
 
Joseph I. Ceasar
Guest
Posts: n/a
 
      05-10-2007
In an earlier post, someone asked about how to save a page on the client
programmatically. I also had to solve this problem and did use Steven's
approach. It worked
great!

Now here is an interesting twist. The page that gets saved to the client
contains a several DataGrids components. The data displayed in the grids is
filtered by the contents of a separate drop down list box. This allows the
client to "download" one page a time.

I now need to replace the drop down by a list box that supports
multi-selects. When the client user clicks on the "download" button, I need
to generate several versions of the page, each displaying the data related
to one of the selections in the list box.

How do I do this?

I first tried to extend the approach given here ahd have the page render
itself several times. Each time it renders itself with new data, I would
capture the stream into a file on the server. Once we are done with all the
renderings, I would then zip up the files and send them to the client. The
question is, how can I force the page to render itself several times?

My next idea is to use a session variable to store all the selections from
the list box. I then create another page whose sole purpose is to redirect
me to my original page. In my original page, every time it loads, I check
the session variable and move on to the next item in the list. Once I
capture its output, I then redirect the response to the newly created page,
which will in turn send me back to my original page, etc.

Any ideas?



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Save Multiple versions of a page on the client side Joseph I. Ceasar ASP .Net 0 05-15-2007 09:30 PM
how to automatically "Save " a page after certain intervals without clicking "Save Page As..." subhadip Java 0 03-28-2007 04:15 PM
how many versions of RSS / Atom should one support? yawnmoth XML 1 02-12-2007 12:00 PM
Suddenly, "save as" takes many seconds for save dialogue to appear BillJosephson Computer Support 5 12-22-2006 01:50 AM
How do you get or save a file from/to a client (button on web page) once they are authenticated? The client could be Mac, Linux or Windows. jake ASP .Net 6 07-07-2004 07:48 PM



Advertisments