Page 1 of 1
Ask the usage of StiViewerControl
Posted: Thu Dec 16, 2010 11:59 pm
by lampson
Hello,
1.Before calling the Show method , i do not want to display any dialog boxes ,need to how to do it?
2.If the data changes, how to update the StiViewerControl ?
3.In stiviewercontrol, I modified the table of the cell values, the application can do to get the value of the modified ?
Thanks .
Ask the usage of StiViewerControl
Posted: Fri Dec 17, 2010 8:38 am
by Alex K.
Hello,
lampson wrote:1.Before calling the Show method , i do not want to display any dialog boxes ,need to how to do it?
Which dialog boxes do you mean?
lampson wrote:2.If the data changes, how to update the StiViewerControl ?
Do you need to compile, render a report (execute Compile(), Render()) and pass it to StiViewerControl?
StiViewerControl.Report = stiReport;
lampson wrote:3.In stiviewercontrol, I modified the table of the cell values, the application can do to get the value of the modified ?
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?
Thank you.
Ask the usage of StiViewerControl
Posted: Sun Dec 19, 2010 7:13 pm
by lampson
Hello .
1.Before calling the Show method , i do not want to display any dialog boxes ,need to how to do it?
The dialog box that seems to be compiled
2.If the data changes, how to update the StiViewerControl ?
I have solved this
3.In stiviewercontrol, I modified the table of the cell values, the application can do to get the value of the modified ?
In the preview, there was a data table, I modified some of the value of the cell , in the C# code, I can get the latest value?
Thank you for your answer
Ask the usage of StiViewerControl
Posted: Mon Dec 20, 2010 1:44 am
by Alex K.
Hello,
lampson wrote:1.Before calling the Show method , i do not want to display any dialog boxes ,need to how to do it?
The dialog box that seems to be compiled
You can use the following code
Code: Select all
StiReport report = new StiReport();
report.Load();
report.Render(false);
report.Show();
lampson wrote:3.In stiviewercontrol, I modified the table of the cell values, the application can do to get the value of the modified ?
In the preview, there was a data table, I modified some of the value of the cell , in the C# code, I can get the latest value?
If we understand you correct then, please send the report with updated data with the stiviewercontrol once again.
Thank you.