Help Report Viewer displaying twice
Posted: Thu Apr 16, 2009 1:34 pm
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
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