Good evening,
I'm trying to create a report with .net in MVC but the data comes from a soap WSDL, so I pass the query result to an Object Data Source in the controller and assign it to the report Viewer in the view but not displays the report.
<div class="container">
// Creating a new report
Telerik.Reporting.TypeReportSource reportsource = new Telerik.Reporting.TypeReportSource() { TypeName = "ReportLibrary.OdioEsteProyecto, ReportLibrary" }; //
Telerik.Reporting.ObjectDataSource datasSource = Model.ods; //this ods is a ObjectDataSource variable who came from the model
if (datasSource != null)
{
<telerik:ReportViewer ID="MyReportViewer"
ReportSource=reportsource
ObjectDataSource=datasSource
runat="server"
High ="100%"
Width="100%"
DocumentMapVisible="False"
ParametersAreaVisible="False"
ShowDocumentMapButton="False"
ShowHistoryButtons="False"
ShowNavigationGroup="True"
ShowParametersButton="False"
ShowPrintPreviewButton="False"
ShowRefreshButton="False"
Skin="WebBlue"
Visible="True">
</telerik:ReportViewer>
}
</div>
HELP