Overriding user's changes

Stimulsoft Reports.WPF discussion
Post Reply
msglobal
Posts: 6
Joined: Wed Feb 22, 2017 8:00 pm

Overriding user's changes

Post 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;
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Overriding user's changes

Post 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.
msglobal
Posts: 6
Joined: Wed Feb 22, 2017 8:00 pm

Re: Overriding user's changes

Post by msglobal »

Thanks, it worked! Sorry for the delayed answer. For some reason I didn't receive an alert on new answers.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Overriding user's changes

Post by Alex K. »

Hello

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

Thank you.
Post Reply