Hello,
I’m using the following overloaded Pdf.Save() method:
public void Save(
string *fileName*,
SaveType *saveType*,
HttpResponse *response*
);
As expected, it sends the report to the Browser, however after doing so, it disregards all of my other changes to the page that is posting back to cause this .Save to be called. Is this the expected functionality?
The scenario I’m looking for is this:
-
User performs an action on the screen which causes a postback.
-
On postback, the screen is modified - textboxes cleared, datagrid bound, etc. - and a PDF is created and saved using Pdf.Save(Filename, SaveType, HttpResponse).
-
When complete, user gets prompted to save/open the Pdf, and the screen is changed based on the things that happened on postback.
What is happening is this:
-
User performs an action on the screen which causes a postback.
-
On postback, the screen is modified - textboxes cleared, datagrid bound, etc. - and a PDF is created and saved using Pdf.Save(Filename, SaveType, HttpResponse).
-
When complete, user gets prompted to save/open the Pdf, and the screen remains unchanged.
Thank you,
-Matt