i found that there is a different behaviour in Forms and Wpf when exporting a report.
In Forms i'm using StiViewerControl.InvokeClickExportButton(). If i did not show the Stimulsoft Toolbar a popup menu opens and i can choose from that menu. The Stimulsoft code for that is
Code: Select all
public void InvokeClickExportButton()
{
try
{
if (ClickExportButton != null) ClickExportButton(this, EventArgs.Empty);
else
{
tbSave.PopupMenu(tbSave.ScreenRectangle.X, tbSave.ScreenRectangle.Bottom);
}
}
catch (Exception e)
{
StiExceptionProvider.Show(e);
}
}
Code: Select all
public void InvokeClickSaveButton()
{
try
{
if (ClickSaveButton != null) ClickSaveButton(this, EventArgs.Empty);
else OnClickSaveButton(this);
}
catch (Exception e)
{
StiExceptionProvider.Show(e);
}
}
Thanks
Thorsten Pontow