Page 1 of 1

Button Document File - Not available

Posted: Wed Aug 26, 2009 7:42 am
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

Button Document File - Not available

Posted: Wed Aug 26, 2009 8:39 am
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

Button Document File - Not available

Posted: Fri Aug 28, 2009 2:53 am
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