Page 1 of 1

Edit button missing on StiWpfViewerControl

Posted: Wed Jun 19, 2013 10:05 am
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

Re: Edit button missing on StiWpfViewerControl

Posted: Thu Jun 20, 2013 2:19 pm
by HighAley
Hello.

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

Thank you.

Re: Edit button missing on StiWpfViewerControl

Posted: Tue Jul 09, 2013 9:55 am
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?

Re: Edit button missing on StiWpfViewerControl

Posted: Tue Jul 09, 2013 12:37 pm
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.

Re: Edit button missing on StiWpfViewerControl

Posted: Wed Jul 10, 2013 3:18 pm
by StiBart
That fixed it. Thanks!

Re: Edit button missing on StiWpfViewerControl

Posted: Thu Jul 11, 2013 5:14 am
by Andrew
Hello,

Great!

Thank you.