I have a report viewer in a silverlight control, and when it loads it comes up blank until I hit refresh on the viewer, and then the report is finally loaded. What could be happening? Here's the code I'm using:
public
ReportWrapper()
{
InitializeComponent();
this
.rptViewer.RenderBegin +=
new
Telerik.ReportViewer.Silverlight.RenderBeginEventHandler(rptViewer_RenderBegin);
this
.Loaded += ReportWrapper_Loaded;
this
.rptViewer.ReportServiceUri =
new
Uri(
"http://webserver/reportserver/reportservice.svc"
);
this
.rptViewer.Report =
"ReportLib.TestReport"
;
}
void
rptViewer_RenderBegin(
object
sender, Telerik.ReportViewer.Silverlight.RenderBeginEventArgs args)
{
args.ParameterValues[
"ID"
] = ID;
}