I have a report Viewer in a web user control. The control displays Ext.NET window which has Report viewer control. Following is the declaration of Report Viewer:
the code behind has the following:
During the execution the report viewer appears blank. no exceptions are raised nothing. I dont know if I'm doing anything incorrect. please help me
<
telerik:ReportViewer
ID
=
"Viewer"
runat
=
"server"
ViewMode
=
"PrintPreview"
Width
=
"100%"
Height
=
"500"
ZoomMode
=
"PageWidth"
>
<
Resources
ProcessingReportMessage
=
"Please wait"
/>
</
telerik:ReportViewer
>
the code behind has the following:
public
partial
class
ucReport : Finance.Controls.BaseUserControl
{
public
void
Print(
int
id)
{
try
{
Reports.VoucherReport report =
new
Finance.Reports.VoucherReport();
report.ReportParameters[
"voucherid"
].Value = id;
Viewer.Report = report;
Viewer.RefreshReport();
winPrint.Show();
}
catch
(Exception ex)
{
Boxes.Error(ex);
}
}
}