Page 1 of 1
Default Save Location
Posted: Fri Nov 20, 2009 2:49 pm
by aferguson
When using the StiWpfViewerControl to view a report, you can save the output in a variety of formats. By default, it selects the user's documents folder for the save location. How would one change that default location to, say, the user's desktop? It is probably straightforward, but I cannot seem to find it.
Thanks.
Default Save Location
Posted: Mon Nov 23, 2009 7:06 am
by Brendan
You can use the following Static Properties to change the default location when Saving or Exporting a report
Code: Select all
StiOptions.Viewer.Windows.ReportSaveLoadPath = @"C:\MyFolder";
StiOptions.Viewer.Windows.ExportSaveLoadPath = @"C:\MyFolder";
Default Save Location
Posted: Mon Nov 23, 2009 10:15 am
by aferguson
Thanks! I knew it would be something simple; I just didn't see it.