Page 1 of 1
Design Report button
Posted: Wed May 02, 2012 9:50 am
by JobaDiniz
I've seen in the Wpf samples a button "Design Report" in the toolbar.
How can I enable this button on my reports?
I show the report with ShowWithWpf() method, but I want the user to be able to change the report within the preview.
Design Report button
Posted: Thu May 03, 2012 2:28 am
by HighAley
Hello.
JobaDiniz wrote:I've seen in the Wpf samples a button "Design Report" in the toolbar.
How can I enable this button on my reports?
I show the report with ShowWithWpf() method, but I want the user to be able to change the report within the preview.
There is a MainToolBar property of the Wpf Viewer. You could add there any button.
Thank you.
Design Report button
Posted: Thu May 03, 2012 7:37 am
by JobaDiniz
I only found MainToolbarVisibility.
However, I'm not using the Wpf Viewer. I have a StiReport instance and I call ShowWithWpf() method.
Design Report button
Posted: Fri May 04, 2012 2:05 am
by HighAley
Hello.
JobaDiniz wrote:I only found MainToolbarVisibility.
However, I'm not using the Wpf Viewer. I have a StiReport instance and I call ShowWithWpf() method.
Wpf Viewer is called by ShowWithWpf() method.
You should use Stimulsoft.Report.Viewer.StiWpfViewerControl.MainToolBar for your needs.
Thank you.
Design Report button
Posted: Fri May 04, 2012 7:43 am
by JobaDiniz
Could you provide some code? Because I'm not finding this property.
Design Report button
Posted: Fri May 04, 2012 4:16 pm
by Anton Lozovskiy
Hello,
Please, find the attached sample application.
Thank you.
Design Report button
Posted: Fri May 04, 2012 5:05 pm
by JobaDiniz
Ok, but I don't have the "StiWpfViewerControl" in my window.
I simply have a StiReport and from it I call ShowWithWpf().
Design Report button
Posted: Mon May 07, 2012 3:35 am
by HighAley
Hello.
JobaDiniz wrote:Ok, but I don't have the "StiWpfViewerControl" in my window.
I simply have a StiReport and from it I call ShowWithWpf().
The only way is to create a form and put there StiWpfViewerControl.
Thank you.