Page 1 of 1

Visibility close button in Viewer

Posted: Thu Jan 05, 2017 3:37 pm
by daevin
Hi,
I did upgrade from 2015.2 to 2016.3 and I found, that close button in Viewer is invisible. I want make this button visible again.
I tried:

PreviewControl = new Stimulsoft.Report.Viewer.StiViewerControl();
PreviewControl.ShowCloseButton = true

but it doesn't work.

I downloaded Custom Viewer Sample from your pages, but in this sample work show/hide for all componenets except close button.
Is it possible to show close button in Viewer?

Re: Visibility close button in Viewer

Posted: Thu Jan 05, 2017 4:37 pm
by HighAley
Hello.

We need some time for analysis of the issue.
Meanwhile you could use next static option:

Code: Select all

StiOptions.Viewer.Windows.ShowCloseButton = true;
Thank you.

Ticket reference: #3611

Re: Visibility close button in Viewer

Posted: Thu Jan 05, 2017 4:55 pm
by daevin
It works. Thank you

Re: Visibility close button in Viewer

Posted: Thu Jan 05, 2017 5:38 pm
by Alex K.
Hello

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

Thank you

Re: Visibility close button in Viewer

Posted: Fri Jan 06, 2017 8:58 am
by HighAley
Hello.

We have made an improvement.
You code now works too.
The fix will be available in our next prerelease build.

Thank you.