I'm trying to insert a reportviewer with an rdlc file, for the data I have a dataset and an ObjectDataSource that work, but when I try to use the Reportviewer I do not load the report.
ASP page.
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="ConstanciaParte2.aspx.cs" Inherits="_Academicos_ConstanciaParte2" %>
<%@ Register assembly="Syncfusion.EJ, Version=16.4460.0.52, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" namespace="Syncfusion.JavaScript.Models.ReportViewer" tagprefix="cc1" %>
List rptDatasources = new List();
ReportDataSource rptDatasource1 = new ReportDataSource();
rptDatasource1.Name = "Dataset1";
ObjectDataSource1.SelectParameters[0].DefaultValue = Request.QueryString["id_matricula"];
rptDatasource1.Value = ((DataView)ObjectDataSource1.Select()).ToTable();
rptDatasources.Add(rptDatasource1);
ReportDataSource rptDatasource2 = new ReportDataSource();
rptDatasource2.Name = "Dataset2";
ObjectDataSource2.SelectParameters[0].DefaultValue = Request.QueryString["id_matricula"];
rptDatasource2.Value = ((DataView)ObjectDataSource2.Select()).ToTable();
rptDatasources.Add(rptDatasource2);
this.ReportViewer1.DataSources = rptDatasources;
this.ReportViewer1.ReportServiceUrl = VirtualPathUtility.ToAbsolute("~/api/RDLCReport");
Really estimate it your answer.