Page 1 of 1

Overriding user's changes

Posted: Thu Mar 16, 2017 12:22 pm
by msglobal
Does the WPF Viewer have some kind of cache on user's preferences? I mean that I've set the Viewer to always show the thumnails when it opens, however, if the user closes the thumbnails and after closes the report, the next report will open without thumbnails regardless I've already set it before open the window.

Code: Select all

reportViewer.IsThumbnailsChecked = true;
reportViewer.Report = stiReport;

Re: Overriding user's changes

Posted: Fri Mar 17, 2017 6:48 am
by HighAley
Hello.

Please, try to set the settings next way:

Code: Select all

StiSettings.Load();
StiSettings.Set("WPFViewer", "ThumbsPanelEnabled", true);
StiSettings.Save();
Thank you.

Re: Overriding user's changes

Posted: Tue Mar 28, 2017 6:32 pm
by msglobal
Thanks, it worked! Sorry for the delayed answer. For some reason I didn't receive an alert on new answers.

Re: Overriding user's changes

Posted: Tue Mar 28, 2017 9:04 pm
by Alex K.
Hello

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.