Telerik Forums
Reporting Forum
1 answer
390 views

Hi,

I understand there are two view modes: Interactive and Print Preview.

My question: How do I load all pages on print preview mode?

What I am getting at the moment is the ReportViewer (on Print Preview Mode) loads 2 first pages, and waits for the user to scroll down the ReportViewer before loading the next page (page 3, 4 and so on).

 

Thanks,

Angga

 

Todor
Telerik team
 answered on 06 Apr 2023
7 answers
930 views
Dear telerik team,

I was wondering if in telerik reporting they have a function field or formula field that can be re use in the texbox for many times. its like the crystal report formula fields.

Thank you
Joshua
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 05 Apr 2023
1 answer
510 views

Hi,

I'm migrating my solution from Dot Net Framework to Dot Net Core 6. On Local Dev Machine which is running on Windows, the reports are getting generated without any issues, but when the same is run in a Docker Container it fails with the following exceptions.

 

 

 

 

I have already tried installing the required libraries which are mentioned in this post but the same persists

FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
WORKDIR /app
EXPOSE 46555
RUN apt-get update \
    && apt-get install -y --allow-unauthenticated \
        libc6-dev \
        libgdiplus \
        libx11-dev \
    && rm -rf /var/lib/apt/lists/*

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS setup
WORKDIR /src
RUN dotnet restore "SampleProject/SampleReports.csproj"
COPY . .

FROM setup AS build
WORKDIR "/src/"
RUN dotnet build "SampleReports.csproj" -c Release -o /app/build


FROM build AS publish
RUN dotnet publish "SampleReports.csproj" -c Release -o /app/publish /p:UseAppHost=false

FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "SampleReports.dll"]

Other information that I would like to add are that my solution uses direct references to Telerik dlls.

Dimitar
Telerik team
 answered on 05 Apr 2023
1 answer
194 views

Hi Team,

I am trying to generate a report with below object datasource PopulationByAgeRange which is a list, and I am trying to bind DemographicData property to a table which is also a list.

public class PopulationByAgeRange
    {
        public IEnumerable<DemographicData> DemographicData { get; set; }
        public string LayerType { get; set; }
        public decimal LayerValue { get; set; }
        public uint CurrentYear { get; set; }
        public uint ForecastYear { get; set; }
        public string Logo { get; set; }
    }

If PopulationByAgeRange was a single object I could bind the table to  Fields.DemographicData but since PopulationByAgeRange is a list the table is not rendered with Fields.DemographicData. Could you please let me know how to bind the table when object datasource is a list.

Dimitar
Telerik team
 answered on 30 Mar 2023
1 answer
512 views

I've been going through the documentation repeatedly for a few days and I believe that what I'm looking to use is the ReportBook but not sure where to start.

For some insight, we have roughly around 8 reports in total. These reports vary but for the most part, they are individual reports intended for one role to view. However, the problem here is that we need to take 3 of these reports and iterate over selections to create a single report for viewing.

Current Scenario:

A district manager can view reports on locations. Each location has 3 reports that can be viewed independently. Along with this, the district manager can also view an "Overview" report that sums up the data of their locations in a single report. The Overview is very basic and no detail is provided. All reports contain parameters of the location id and a start and end date for gathering data.

Problem Scenario:

The problem now is that we need for the district manager to be able to capture a full detailed report of all selected locations in a single report. In this scenario, the district manager may select from 1 to N amount of locations and a report is generated based on the selections. This generated report will show all 3 reports for each location selected.

I'm not sure where to start with such an implementation and the documentation on ReportBook isn't very detailed.

Tech stack is .NET 6 with Blazor frontend and .NET 6 backend in separate applications.

Dimitar
Telerik team
 answered on 30 Mar 2023
1 answer
741 views

I have a web application that consists of an API hsoted in Azure functions and a front end as Blazor wasm hosted in Azure blob storage as statis site.

I need to add a report for users so that each user see their own data based on data passed to the report.

1) Can reporting be used with Azure functions?

2) If yes, any sample code to guide me?

Dimitar
Telerik team
 answered on 28 Mar 2023
1 answer
90 views

The report allignment in design view of the report and the allignment in runtime are different. It's seems that the page size changes.

How to solve this?

Attach images in design time and image in runtime of the report.

 

thank you!

Momchil
Telerik team
 answered on 27 Mar 2023
1 answer
397 views

I just inherited an old reporting website that I am trying to update. I didn't write it, but needed to convert to .net 6.0 for API compatibility. I was getting an error "Cannot access the Reporting REST service." but followed this guide https://www.telerik.com/blogs/embedding-beautiful-reporting-aspnet-core-web-applications and adding the ".AddNewtonsoftJson();" part now makes it so that I instead get an Exception "The extension is not supported."
   at Telerik.Reporting.Services.Engine.ResourcesEngine.GetMimeType(String filename)
   at Telerik.Reporting.Services.Engine.ResourcesEngine.GetResource(String folder, String name, String& mimeType, Type type)
   at Telerik.Reporting.Services.AspNetCore.ReportsControllerBase.GetResourceCore(String folder, String resourceName, Type type)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<<InvokeActionMethodAsync>g__Logged|12_1>d.MoveNext()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<<InvokeNextActionFilterAsync>g__Awaited|10_0>d.MoveNext()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<<InvokeNextExceptionFilterAsync>g__Awaited|26_0>d.MoveNext()

I have trdp files. I updated the path so the IReportServiceConfiguration points to the correct directory. I set a breakpoint in my ReportController ctor and it gets hit when I try to load the report page, but then I either get the error "Cannot access the Reporting REST service. (serviceUrl = '/api/reports/'). Make sure the service address is correct and enable CORS if needed. (https://enable-cors.org)" or the one about the file extension. I've followed all the guides for enabled CORS. Do I have to do any kind of MIME configuration to support the TRDP files?

 

Please advise. Thank you

Dimitar
Telerik team
 answered on 22 Mar 2023
1 answer
264 views

Hi all,

 

Our business uses a service, ubipark.com, which utilizes Telerik to generate reports on their website. (https://console.ubipark.com/Reports).

Part of my job is to use ubi park's online report viewer to generate Bank Reconciliation reports every morning. 

I wanted to ask if it is possible to automate this process? If I could have a PDF automatically saved and emailed to me daily that would be great. Is there any way to do this? Is there any functionality available in Telerik to automated generation and delivery of reports?

 

Screenshot of UbiPark attached, this is the screen I use to generate my daily reports.

 

TIA,

Parry

Dimitar
Telerik team
 answered on 16 Mar 2023
1 answer
434 views
hi all
I am getting a 

405 Method Not Allowed to http://localhost:17390/api/reports/clients/sessionTimeout request.
The reporting service is working fine since I'm able to get formats (
http://localhost:17390/api/reports/formats) and version (http://localhost:17390/api/reports/version) of the reporting.
I've tried enabling CORS, but that didn't work.


I think the problem is related to the ALLOW in "Response Headers".
Any idea how I can remove it.

PS
http://localhost:17390 - is the WebApi service
and http://localhost:5136- is the ASP.NET MVC application

Ganesh
Top achievements
Rank 1
Iron
 answered on 15 Mar 2023
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?