Hello,
I created 6 report files. Each file has its own table, text description and chart. I added these 6 files into a Report Book.
Now I have a question, how do I make a table of contents to correspond to these title in these files, the directory may be similar to the picture
Thanks
Hi,
I'm porting an old reporting system to Telerik, and I need to adapt the old data provider strategy to a Telerik DataSource that I can use with a Telerik Report.
None of the DataSources provided suit my needs, so I'm thinking about implementing my own extension of DataSource abstract class. I didn't find any suggestion about that in the documentation; is it possible?
Thanks in advance and best regards.
I have designed a Telerik report, when printing the report from report viewer, its taking some unique id on the print queue.
How do I document name when printing in Telerik Report viewer.
I found this link when googling,
http://docs.telerik.com/reporting/m-telerik-reporting-processing-reportprocessor-printreport
but i dont know when it will be called ? where to use this?
Hello,
We are using Telerik Reporting version R2 2020.
In our app to show report we use HTML5 Report Viewer and Web Report designer. Our project based on .Net Core 3.1. Currently, the report viewer is working fine but we have a problem with a web designer. I tested report web designer with a web page using the Chrome browser and it is not working fine. It shows some error messages when loading some report items. For example in my sample project I'm trying to open barcode report with report web designer. After a few seconds It shows some error messages saying "Could not generate the preview of 'barcode N'" (N - barcode number).
You can see this from the attached picture file. I could not attache my sample project because it allows only picture file.
Here my Startup file.
public class Startup
{
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
services.AddCors(o => o.AddPolicy("AllowOrigin", builder =>
{
builder.AllowAnyOrigin().AllowAnyHeader().AllowAnyMethod();
}));
//This is for showing picture
services.Configure<IISServerOptions>(options =>
{
options.AllowSynchronousIO = true;
});
services.AddRazorPages()
.AddNewtonsoftJson();
//Designer
// Configure dependencies for ReportServiceConfiguration.
services.TryAddSingleton<ConfigurationService>(sp => new ConfigurationService(sp.GetService<IWebHostEnvironment>()));
services.TryAddScoped<IReportSourceResolver>(sp =>
new TypeReportSourceResolver().AddFallbackResolver(new UriReportSourceResolver(
Path.Combine(sp.GetRequiredService<ConfigurationService>().Environment.WebRootPath, "Reports"))));
services.TryAddScoped<IReportServiceConfiguration>(sp =>
new ReportServiceConfiguration
{
ReportingEngineConfiguration = sp.GetRequiredService<ConfigurationService>().Configuration,
HostAppId = "Html5DemoAppCore",
Storage = new FileStorage(),
ReportSourceResolver = sp.GetRequiredService<IReportSourceResolver>()
});
// Configure dependencies for ReportDesignerServiceConfiguration.
services.TryAddScoped<IDefinitionStorage>(sp => new FileDefinitionStorage(Path.Combine(sp.GetRequiredService<ConfigurationService>().Environment.WebRootPath, "Reports")));
services.TryAddScoped<IReportDesignerServiceConfiguration>(sp => new ReportDesignerServiceConfiguration { DefinitionStorage = sp.GetRequiredService<IDefinitionStorage>() });
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
app
.UseRouting()
.UseCors("AllowOrigin")
.UseDefaultFiles()
.UseStaticFiles()
.UseEndpoints(config =>
{
config.MapControllers();
});
}
}
public class ConfigurationService
{
public ConfigurationService(IWebHostEnvironment environment)
{
this.Environment = environment;
var configFileName = System.IO.Path.Combine(environment.ContentRootPath, "appsettings.json");
var config = new ConfigurationBuilder()
.AddJsonFile(configFileName, true)
.Build();
this.Configuration = config;
}
public IConfiguration Configuration { get; private set; }
public IWebHostEnvironment Environment { get; private set; }
}
Can someone help me to solve this problem?
Thank you,
Hi,
I'm currently evaluating Telerik Reporting to see if it fits our requirements.
I'm trying to use the "Export a report to a single document to render a report" to render a very simple report with a single "Hello World" textbox. I used the sample code in the link below.
https://docs.telerik.com/reporting/programmatic-exporting-report
I downloaded Telerik.Reporting from nuget.org with version: 13.2.19.1030
I however is experiencing an error once I get to the code:
Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("PDF", reportSource, deviceInfo);
Error:
Telerik.Reporting.Xml.UnsupportedVersionException: 'Cannot read a document with the specified schema: http://schemas.telerik.com/reporting/2020/2.0.
You might be using an older version of the product.'
How should I get around this ?
We're trying to get to a decision soon so can you please help us asap.
Thank You