Hi, attached you will find a simple graph with lines. But, as you can see, the value for the fisrt tear 2018 is 0.2, but ius display the point above the second year 2019 even its value is higher (0.3)
Please also want to know how to ignore 0 or null point, in the same image 2019 and posteriors year does not has values yet, so we need to ignore them (lines must ends at the last point with value)
Thanks
Alejandro
We have a .NET Core Web API project. Our TRDP and TRDX files are located in wwwroot/reports/.
At design time in the Standalone Designer, the reports preview as expected with the correct data.
That SAME report file at runtime does not request the data, the data method is not invoked.
The below method takes the report, processes it, but the data method never gets called by the report processor.
I've look at the TRDX file and the assembly name, method and parameter is in the correctly.
What could possibly cause this? The controller has access to the data source assembly and can execute the methods, but the report processor method that is in the same controller, does not invoke the data method.
Thank you in advance,
Karl
private HttpResponseMessage MakePdfResult(ReportSource report)
{
var rp = new ReportProcessor();
var pdf = rp.RenderReport("PDF", report, null);
var result = new HttpResponseMessage { Content = new ByteArrayContent(pdf.DocumentBytes) };
result.Content.Headers.ContentType = new MediaTypeHeaderValue("application/pdf");
return result;
}
On our test server if we set Storage to default location which is in C:\Windows\TEMP folder we get unauthorized access exception, would setting Storage to "C:/Temp" cause any security issues, or are there better standard locations for storing temp files?
Telerik.Reporting.Services.ReportServiceConfiguration ReportConfiguration =
new
Telerik.Reporting.Services.ReportServiceConfiguration
{
ReportResolver =
new
ReportFileResolver(HttpContext.Current.Server.MapPath(
"~/MyReports"
))
.AddFallbackResolver(
new
ReportTypeResolver()),
Storage =
new
Telerik.Reporting.Cache.File.FileStorage()
};
Loading failed.
Is it just on my computer? Chrome/IE on Win7, WinServer 12
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
);
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.
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?
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.
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?