R
rgparkins
Hi,
Really stuck with this one, or the fact that I have just had a baby
maybe mind mind is in meltdown and I cant figure how to solve this!
I have a list of users stored in session. These users are displayed in
a list on the admin web page and I would like to give the
administrator a dropdown of actions on this list. For example, print
this list, Email this list etc.
The print list actually creates a PDF document so the admin can do what
they like with it, so this is where I get hazy.....
How do I open this PDF in a new window on a form submit? For example
with a link thats fine, target="_blank" but the form is posted back to
the server and I realise that there is no way of doing this at the
server, so at the moment I have a literal js statement that is set
visible true and this opens the new window when the page is rendered
after the postback.. This strikes me as *ahem* "not the best way" for
example with popup blockers etc.
Is there a way to render the page to a new window? I was perhaps
thinking of creating a PDF HTTPhandler which would force a download
which I hope will not move the window from the orignal page? Is this
the correct way?
Any help appreciated
Many thanks
Richard
Really stuck with this one, or the fact that I have just had a baby
maybe mind mind is in meltdown and I cant figure how to solve this!
I have a list of users stored in session. These users are displayed in
a list on the admin web page and I would like to give the
administrator a dropdown of actions on this list. For example, print
this list, Email this list etc.
The print list actually creates a PDF document so the admin can do what
they like with it, so this is where I get hazy.....
How do I open this PDF in a new window on a form submit? For example
with a link thats fine, target="_blank" but the form is posted back to
the server and I realise that there is no way of doing this at the
server, so at the moment I have a literal js statement that is set
visible true and this opens the new window when the page is rendered
after the postback.. This strikes me as *ahem* "not the best way" for
example with popup blockers etc.
Is there a way to render the page to a new window? I was perhaps
thinking of creating a PDF HTTPhandler which would force a download
which I hope will not move the window from the orignal page? Is this
the correct way?
Any help appreciated
Many thanks
Richard