How can I save pdfdocument in specific path?

Oct 29, 2009 at 6:16 AM

How can I save pdfdocument in specific path? I need put in the code the path and filename without savefiledialog

Coordinator
Oct 29, 2009 at 8:37 PM

Silverlight dosn't allow to save files without savefiledialog. In Silverlight 3 - SaveFileDialog - is only way to save file... waiting for Silverlight 4 :)))

The ShowDialog method can only be called from user-initiated code, such as a button Click event. If ShowDialog is called from code that is not user-initiated, such as a Page Loaded event, a SecurityException is thrown.

Use the return value of the ShowDialog method to determine whether the user specified a file. You can then use the OpenFile method to access the file.

The Silverlight plug-in does not support SaveFileDialog in full-screen mode. In most cases, displaying the dialog box in full-screen mode will cause the plug-in to revert to embedded mode. However, to avoid issues on some browsers, you should exit full-screen mode before using these classes.

Nov 6, 2009 at 8:21 AM

Thanks for response