Button Document File - Not available

Stimulsoft Reports.NET discussion
Post Reply
Andreas Tastler
Posts: 63
Joined: Fri Jul 17, 2009 5:00 am
Location: St. Gallen, Switzerland

Button Document File - Not available

Post by Andreas Tastler »

Hi all

I have two problems with the Document Save Feature:

1. No Button
In preview mode of my designer the entry Document File within the Toolbar button Save is missing, but the keycombination ctrl-s works (shows the dialog to save the document (mdc)).
I open the designer with method StiReport.Design(). I tried to set the option StiOptions.Viewer.Windows.ShowSaveDocumentFileButton but this had no impact.
If I open the designer from windows startmenu, the button is there.

2. CTRL-S is defined twice
If the report has rendered once (switch to preview) in designer, CTRL-s will always show dialog for Document File (mdc) even if I switch back to design mode. But I want to save the report template (mrt) when CTRL-S is pressed.


Thank you
Andreas
Andreas Tastler
Posts: 63
Joined: Fri Jul 17, 2009 5:00 am
Location: St. Gallen, Switzerland

Button Document File - Not available

Post by Andreas Tastler »

Hi all

After some research I have new facts:

1. No Button
In preview mode of my designer the entry Document File within the Toolbar button Save is missing, but the keycombination ctrl-s works (shows the dialog to save the document (mdc)).
I open the designer with method StiReport.Design(). I tried to set the option StiOptions.Viewer.Windows.ShowSaveDocumentFileButton but this had no impact.
If I open the designer from windows startmenu, the button is there.
The button has been disabled, because I selected the ReportCacheMode to On or Auto.
Is this behaviour correct? What is the impact of caching into saving rendered reports?
So this one turned into a bug, because if the button is not visible, the CTRL-S should definitly not execute the Document File Feature.

2. CTRL-S is defined twice
If the report has rendered once (switch to preview) in designer, CTRL-s will always show dialog for Document File (mdc) even if I switch back to design mode. But I want to save the report template (mrt) when CTRL-S is pressed.
Still the same Problem.



Thank you
Andreas
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Button Document File - Not available

Post by Ivan »

Hello,
In preview mode of my designer the entry Document File within the Toolbar button Save is missing, but the keycombination ctrl-s works (shows the dialog to save the document (mdc)).
Fixed. Now Ctrl-S not work, if the ReportCacheMode property is set to On or Auto.
If the report has rendered once (switch to preview) in designer, CTRL-s will always show dialog for Document File (mdc) even if I switch back to design mode. But I want to save the report template (mrt) when CTRL-S is pressed.
Fixed. Now all hotkeys of preview control is disabled when it called from designer.
So CTRL-s will always show dialog for the report template (mrt).

Patch will be available in next prerelease build from 31-Aug-2009.

Thank you
Post Reply