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

Abhimanyu K VatsaRank #14 · 51.7K reputationPosted Apr 22, 2011, 6:48 AM EDT
http://msdn.microsoft.com/en-us/library/sfezx97z.aspx
http://msdn.microsoft.com/en-us/library/aa984409(v=vs.71).aspx
Sam HobbsRank #107 · 20.5K reputationPosted Apr 22, 2011, 3:58 PM EDT
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.
HERBERTS NGOBOLA150 reputationPosted Apr 28, 2011, 5:09 AM EDT
I use FastReport.Net, and check this flash demo to see how it can be are done.
Mahesh ChandRank #1 · 393.3K reputationPosted Apr 28, 2011, 7:29 AM EDT
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!