This is a migrated thread and some comments may be shown as answers.

How to set PersistSession when calling Standalone Report Designer

1 Answer 110 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 25 Jul 2017, 10:27 PM

For our application we store reports externally. When a user wishes to edit a report, we create a temporary .trdx file, then pass the location of that file as a parameter to the Report Designer exe. When finished, we process any changes and then remove the temporary file.

When the user closes Report Designer, it asks if they want to reopen that document the next time. Since the document is a temporary file that will be removed, they cannot reopen it next time and this question could cause confusion.

To prevent this, we would like to make it so the option "Preserve open windows on exit" is set to "Never" by default. But even after adding it an application or user setting of "Never" in Telerik.ReportDesigner.exe.config the Report Designer creates a new user.config file with the value of "Ask".

How can we set it so that this value is "Never" by default? Is there a parameter we can pass when calling the exe?

1 Answer, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 28 Jul 2017, 02:23 PM
Hello Steve,

In general, "Preserve open windows on exit" option is set in the designer File tab -> Options. The setting will be saved in user.config file in C:\Users\UserName\AppData\Local\Telerik_AD folder.

We have performed some tests with the designer on our side and the value of this setting is preserved when opening the designer the next time, no new user.config is created.

Let us know more details about your scenario, for example how the designer is called. A short video that demonstrates the issue and the steps how to reproduce it would also help.


Regards,
Katia
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Report Designer (standalone)
Asked by
Steve
Top achievements
Rank 1
Answers by
Katia
Telerik team
Share this question
or