I am developing my first report using stimulsoft.net in WinForms.
All I have is a form with stiViewercontrol and stiReport.
on the Report itself I have a page Header with a textbox ...
I have this in my Form1_Load event
private void Form1_Load(object sender, EventArgs e)
{
stiReport1.Load("d:\\simultest\\stiReport1.mrt");
this.stiViewerControl1.Report = stiReport1;
this.stiViewerControl1.Report.Show();
}
The report displays twice once in the form and also in the Report- Viewer. I only want it to display in the Form .Am I doing something wrong.Any input is greatly appreciated.
Thanks
Smitha
Help Report Viewer displaying twice
Help Report Viewer displaying twice
Hello Smitha,
Please replace line:
by:
Thank you.
Please replace line:
Code: Select all
this.stiViewerControl1.Report.Show();
Code: Select all
this.stiViewerControl1.Report.Render();