M
mpraneetha
Hello Everyone,
i am creating a compostie control (for web)...which would contain a
button "GenerateFile" on click of that button..i should generate a file
(which is not a problem) and also send it to the client so that he can
open/save from the webpage the control is contained in .
if i was doing this in normal web application..i would
response.redirect to an other page..which would contain the code to
open it..it would contain response.appendheader and i would do
response.outputstream which would open a dialog box asking user ifthey
want to open or save the file.
but i am not sure how to do this from composite control...any ideas?
Thanks
i am creating a compostie control (for web)...which would contain a
button "GenerateFile" on click of that button..i should generate a file
(which is not a problem) and also send it to the client so that he can
open/save from the webpage the control is contained in .
if i was doing this in normal web application..i would
response.redirect to an other page..which would contain the code to
open it..it would contain response.appendheader and i would do
response.outputstream which would open a dialog box asking user ifthey
want to open or save the file.
but i am not sure how to do this from composite control...any ideas?
Thanks