Edit button missing on StiWpfViewerControl

Stimulsoft Reports.WPF discussion
Post Reply
StiBart
Posts: 3
Joined: Wed Jun 19, 2013 9:53 am

Edit button missing on StiWpfViewerControl

Post by StiBart »

We render our reports in WPF with the following code.

StiOptions.Viewer.Windows.ShowCloseButton = false;
Stimulsoft.Report.Viewer.StiWpfViewerControl ViewerControl = new Stimulsoft.Report.Viewer.StiWpfViewerControl(report);

This used to provide us with the Stimulsoft preview control with a 'edit' button. Since we upgraded to version 2013.1.1600 we the edit button is missing.
We tried adding StiOptions.Viewer.Windows.ShowEditorTool = true; but this has no effect.

Any ideas?

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

Re: Edit button missing on StiWpfViewerControl

Post by HighAley »

Hello.

Please, upgrade to the latest prerelease build that is available on our site.
This issue is already fixed.

Thank you.
StiBart
Posts: 3
Joined: Wed Jun 19, 2013 9:53 am

Re: Edit button missing on StiWpfViewerControl

Post by StiBart »

Meanwhile we updated to prerelease version 2013.2.1609.0, but we still don't get the editor button.

The option in StiOptions is enabled explicitly (we didn't have to do this in previous versions):

Code: Select all

StiOptions.Viewer.Windows.ShowEditorTool = true;
And we enable the option also on the viewer control we didn't have to do this in previous versions):

Code: Select all

Stimulsoft.Report.Viewer.StiWpfViewerControl ViewerControl = new Stimulsoft.Report.Viewer.StiWpfViewerControl(report);
ViewerControl.ShowToolEditor = true;
But I still don't get the editor button back.

Any suggestions?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Edit button missing on StiWpfViewerControl

Post by Alex K. »

Hello,

On current moment, we make some changes for simplify the user interface.
You can set the following options:

Code: Select all

StiOptions.Viewer.Windows.ShowPageDesignButton = true;
Also you can set this property in PreviewSettings of report.

Thank you.
StiBart
Posts: 3
Joined: Wed Jun 19, 2013 9:53 am

Re: Edit button missing on StiWpfViewerControl

Post by StiBart »

That fixed it. Thanks!
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Re: Edit button missing on StiWpfViewerControl

Post by Andrew »

Hello,

Great!

Thank you.
Post Reply