Telerik Forums
Reporting Forum
1 answer
119 views

Loading failed.

Is it just on my computer?   Chrome/IE on Win7, WinServer 12

Silviya
Telerik team
 answered on 11 Sep 2019
2 answers
763 views

I'm trying to follow the info on this page: https://docs.telerik.com/reporting/programmatic-exporting-report. However it doesn't show what the TypeName should be. I've tried many variations from other examples but I always get this error when the RenderReport line tries to execute: 

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: type

 

var PDFSource = new TypeReportSource();
PDFSource.TypeName = "rptVAC";
var ReportProcessor = new ReportProcessor();
PDFSource.Parameters.Add(new Telerik.Reporting.Parameter("VACId", vacId));
var result = ReportProcessor.RenderReport("PDF", PDFSource, null);
Larry
Top achievements
Rank 1
 answered on 10 Sep 2019
2 answers
291 views

Hi everyone,

I have updated the telerik reporting version from R1 2019(13.0.19.123)  to R2 2019 (13.1.19.618) version. I use Visual Studio 2017 but can't see into Report Designer for VS2017 the JSON datasource or CSV Datasource.  I mean are these features only appear in Standalone Report Designer or they has been included into Visual Studio Report Desginer?

See image #1 and #2 attached in order to see what is the popup I see in VS Report Designer when I try to connect with a Service.

 

Thanks,

David G.

Todor
Telerik team
 answered on 10 Sep 2019
1 answer
911 views
My View
 
<style>
 
        #reportViewer1 {
            position: relative;
            width: 1300px;
            height: 900px;
        }
    </style>
 
@(Html.TelerikReporting().ReportViewer()
        .Id("reportViewer1")
        .ServiceUrl(Url.Content("/api/reports/"))
        .TemplateUrl("/Resources/Templates/telerikReportViewerTemplate.html")
        .ReportSource(new UriReportSource() { Uri = "Report1.trdp" })
        .ViewMode(ViewMode.Interactive)
        .ScaleMode(ScaleMode.Specific)
        .Scale(1.0)
        .PersistSession(false)
        .PrintMode(PrintMode.AutoSelect)
)
 
My controller
 
namespace OvalWeb.Controllers
{
    using System.IO;
    using System.Web;
    using Telerik.Reporting.Cache.File;
    using Telerik.Reporting.Services;
    using Telerik.Reporting.Services.Engine;
    using Telerik.Reporting.Services.WebApi;
 
    //The class name determines the service URL.
    //ReportsController class name defines /api/report/ service URL.
    public class ReportsController : ReportsControllerBase
    {
        static ReportServiceConfiguration preservedConfiguration;
 
        static IReportServiceConfiguration PreservedConfiguration
        {
            get
            {
                if (null == preservedConfiguration)
                {
                    preservedConfiguration = new ReportServiceConfiguration
                    {
                        HostAppId = "OvalWebReport",
                        Storage = new FileStorage("C:/Storage"),
                        ReportResolver = CreateResolver(),
                        // ReportSharingTimeout = 0,
                        // ClientSessionTimeout = 15,
                    };
                }
                return preservedConfiguration;
            }
        }
 
        public ReportsController()
        {
            this.ReportServiceConfiguration = PreservedConfiguration;
        }
 
        static IReportResolver CreateResolver()
        {
            var appPath = HttpContext.Current.Server.MapPath("~/");
            var reportsPath = Path.Combine(appPath, @"Report\Designs\Ventas\Tickets\Familia");
 
            return new ReportFileResolver(reportsPath)
                .AddFallbackResolver(new ReportTypeResolver());
        }
    }
}

 

It shows me the error attached.

What could be the problem?

Francisco
Top achievements
Rank 1
 answered on 10 Sep 2019
3 answers
507 views

I want to create 1 report where a user would select a parameter and the report would connect to that parameters database.

Right now, I've created multiple reports that are pretty much the same except they are connecting to different databases. I would just like 1 report and based on the parameter the user chooses it will connect to that database.

 

 

 

Silviya
Telerik team
 answered on 10 Sep 2019
2 answers
161 views

Hello,

I am searching for ways of implementing reports properly with accordance to WCAG 2.0 in WPF projekt.

Is there any way to programmatically tag items in report, add natural language and other metadata?

Silviya
Telerik team
 answered on 10 Sep 2019
3 answers
142 views
This is a test forum post, please ignore.
Eric R | Senior Technical Support Engineer
Telerik team
 answered on 09 Sep 2019
2 answers
874 views

C# ASP.NET MVC

I have the following code in view:

<script type="text/javascript">         

                $("#reportViewer1").telerik_ReportViewer({                 

                       templateUrl: "/Resources/Templates/telerikReportViewerTemplate.html",                 

                       serviceUrl: "/api/reports",                 

                       reportSource: {report: "VentasFamilia.trdp",

                                               parameters: {                     

                                                       Delegaciones: $("#filterDelegacion").data("kendoMultiSelect").value(),                               Familias: $("#filterFamilia").data("kendoMultiSelect").value(),                     

                                                      Series: $("#filterSerie").data("kendoMultiSelect").value(),                    

                                                      FechaInicio: $("#desde").val(),                     

                                                      FechaFin: $("#hasta").val()                   

                                                     }                 

                   }             

});     

</script>

How should I do on the controller to receive the parameters and name of the report?

Silviya
Telerik team
 answered on 09 Sep 2019
1 answer
79 views

Hi,

I have tried to use the Visual Studio Report Designer for Telerik Reporting, my solution contains an asp.net core 2.1 web app and i have created an api controller, the idea is provide json data from my controller/actionresult in my web app to Report Designer Visual Studio 2017 to create a report though webservice datasource.  I have recieved an error (see image#3_ReporDesignerVS2017.PNG attached).  So, my question is: do the webservice datasource from designer allows connect with .SVC (WCF) or .ASMX (SOAP) services only? My web app retrieve data as REST service, what are your recommendations?

 

Thanks,

David Gonzalez,

 

Jose
Top achievements
Rank 1
 answered on 06 Sep 2019
5 answers
916 views
Hi,
Please explain to me how to delete the empty space that appears between the group ranges, if I set the visibility in the detailed range = False
Todor
Telerik team
 answered on 05 Sep 2019
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?