How to set PersistSession when calling Standalone Report Designer

2 posts, 0 answers
  1. Steve
    Steve avatar
    1 posts
    Member since:
    Jun 2009

    Posted 25 Jul 2017 Link to this post

    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?

  2. Katia
    Katia avatar
    693 posts

    Posted 28 Jul 2017 Link to this post

    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.

    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
Back to Top