Hi, I'm developing a panel which simulates Save/SaveAs options of the report designer and I'm having two problems:
1.- When I make a postback (click MY save button or MY save as button) the report designer reloads and I lost all the changes I made. How I can keep any changes I made on the report designer after postback?
2.- How I can access to SaveReport method of the designer from another button (a button I made outside the designer)
I attached a capture.
Problems with Report Designer
Problems with Report Designer
- Attachments
-
- designer.jpg (255.66 KiB) Viewed 1343 times
Re: Problems with Report Designer
Hello,
You can describe on the following event:
Thank you.
You can describe on the following event:
Code: Select all
StiOptions.Engine.GlobalEvents.SavingReportInDesigner
Re: Problems with Report Designer
Hi,
Thanks for the quick reply. Can you give more details of how I can override this method? SavingReportInDesigner
I'm trying this:
How I can call my overrided SavingReportInDesigner method when I click my OWNsave button?
This is not working:
Thanks for the quick reply. Can you give more details of how I can override this method? SavingReportInDesigner
I'm trying this:
Code: Select all
StiOptions.Engine.GlobalEvents.SavingReportInDesigner += new StiSavingObjectEventHandler(SavingReportInDesigner);
private void SavingReportInDesigner(Object sender, Stimulsoft.Report.Design.StiSavingObjectEventArgs e) {
Stimulsoft.Report.Design.StiDesignerControl designerControl = (Stimulsoft.Report.Design.StiDesignerControl)sender;
}
This is not working:
Code: Select all
<asp:Button ID="btnSave" runat="server" OnClick="SavingReportInDesigner"/>
Re: Problems with Report Designer
Hello,
Please send us a sample project for analysis.
Thank you.
Please send us a sample project for analysis.
Thank you.