Visibility close button in Viewer

Stimulsoft Reports.NET discussion
Post Reply
daevin
Posts: 3
Joined: Thu Jan 05, 2017 3:14 pm

Visibility close button in Viewer

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

Re: Visibility close button in Viewer

Post 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
daevin
Posts: 3
Joined: Thu Jan 05, 2017 3:14 pm

Re: Visibility close button in Viewer

Post by daevin »

It works. Thank you
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Visibility close button in Viewer

Post by Alex K. »

Hello

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

Thank you
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Visibility close button in Viewer

Post 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.
Post Reply