Save Multiple versions of a page on the client side

Discussion in 'ASP .Net' started by Joseph I. Ceasar, May 15, 2007.

  1. 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?
    Joseph I. Ceasar, May 15, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Boss302
    Replies:
    0
    Views:
    1,035
    Boss302
    Nov 21, 2006
  2. subhadip
    Replies:
    0
    Views:
    627
    subhadip
    Mar 28, 2007
  3. Joseph I. Ceasar
    Replies:
    0
    Views:
    276
    Joseph I. Ceasar
    May 10, 2007
  4. Bogdan
    Replies:
    2
    Views:
    644
    Bogdan
    Jun 9, 2008
  5. Zoe Hart
    Replies:
    1
    Views:
    364
    Scott Wisniewski
    Jan 8, 2004
Loading...

Share This Page