Hello,
I am using ExportToDisk() method to save my crystal report in the pdf format.
Refer below:
[CODE]
MyReport.ExportToDisk(ExportFormatType.PortableDocFormat,"C:\MyReport");[/CODE] // Here the file is successfully saved to my C Drive with title as My Report.
However, my question is how to set the export path dynamically? ie. How to save the path (here C:\) Dynamically? ie...Like prompt a user to select the location where he wants to save the file? How can this be done?
I am using this work around because ExportToHttpResponse does not seem to work...please help.
Please help....
Loading
Mahesh ChandPosted Apr 28, 2011, 11:29 AM
We do not support spam on the forums. Just make sure you do not promote any product unless it is related to the question.
Thanks for playing fair!
HERBERTS NGOBOLAPosted Apr 28, 2011, 9:09 AM
I use FastReport.Net, and check this flash demo to see how it can be are done.
Sam HobbsPosted Apr 22, 2011, 7:58 PM
Note that there is a difference between saving a file and saving to a directory. If you want the user to specify a diretory but not the filename, then you would use a different class. I forget what the class is but look at the articles in this web site for it.
Abhimanyu K VatsaPosted Apr 22, 2011, 10:48 AM
http://msdn.microsoft.com/en-us/library/sfezx97z.aspx
http://msdn.microsoft.com/en-us/library/aa984409(v=vs.71).aspx