J
J055
Hi
I have a list on LinkButton controls on a page. When the link is clicked the
LinkButton.Command event does a Server.Transfer to a page which writes
binary to the HTTP output stream, e.g. a word document, pdf etc.
Response.BinaryWrite(buffer);
Response.End();
I would like to reload the page with the LinkButtons after this event to
reflect changes which are made after the download of the file.
I understand that some client script may be needed but I'm not sure how to
implement this or if something can be added to the LinkButton.OnClientClick
property.
I'm guessing that maybe I need to do a postback and then write some client
script to open the download page? What's the neatest solution please?
Many thanks
Andrew
I have a list on LinkButton controls on a page. When the link is clicked the
LinkButton.Command event does a Server.Transfer to a page which writes
binary to the HTTP output stream, e.g. a word document, pdf etc.
Response.BinaryWrite(buffer);
Response.End();
I would like to reload the page with the LinkButtons after this event to
reflect changes which are made after the download of the file.
I understand that some client script may be needed but I'm not sure how to
implement this or if something can be added to the LinkButton.OnClientClick
property.
I'm guessing that maybe I need to do a postback and then write some client
script to open the download page? What's the neatest solution please?
Many thanks
Andrew