we're facing an issue, trying to display a reportviewer in a customized Webpart designed for a Sharepoint Application. I've tried to search in the forum and the KB for a couple of hours about this problem and found nothing.
Of course, we first checked everything mentionned in the "Deploying Web ReportViewer in MOSS" article, and everything is fine.
The reportviewer has a strange behaviour, when the page is loading, its toolbar starts appearing with its coloured and enabled icons, but then suddenly the icons turns gray and the toolbar is entierely disabled, as shown in the screenshot below. The report is empty.
Here are parts of the code we used. We declare the ReportViewer in the CreateChildControls method of the webpart, but we populate the data and generate the report in the RenderControl method.
protected Telerik.ReportViewer.WebForms.ReportViewer MyReportViewer;
protected override void CreateChildControls()
false; // Tried this but nothing changed
protected override void Render(HtmlTextWriter output)
var LObjetDataSource = new Telerik.Reporting.ObjectDataSource();
LObjetDataSource.DataSource = PopulateDataView(); // Method returning the data in a DataView
Report Rapport = new Report();
Rapport.DataSource = LObjetDataSource;
// Tried this in order to avoid bad parameters issues
MyReportViewer.Report = Rapport;
Could the issue be relative to a bad databinding, in the lifecycle of the page/webpart ?
If someone can help...
thanks in advance.