Telerik Forums
Reporting Forum
1 answer
61 views

Hi, 

Do we have any property to pass auth token to web report designer?

I have seen the way around to intercept fetch and pass token but its going to add header in all call from applications.

Can we please add a property to add token like we have in Report Viewer.

 

Thanks

 

Dimitar
Telerik team
 answered on 28 Jan 2025
4 answers
941 views

Greetings.!

how i can send parameters from asp .net core project and show it in telerik reporting with an conexion  mySQL.
attached proyect

Regards.!

Dimitar
Telerik team
 updated answer on 27 Jan 2025
1 answer
240 views

Is it possible to add the code from the HTML5 report viewer to a view (cshtml file) in asp.net core 2.2 and have it work?  I am trying to avoid any static files. I followed this example:  https://docs.telerik.com/reporting/manual-setup-of-html5-report-viewer-in-asp-net-core-2.  I put the head info in the _layout.cshtml file and the viewer code on the index.cshtml.  It throws this error:

Uncaught TypeError: $(...).telerik_ReportViewer is not a function
    at HTMLDocument.<anonymous> ((index):87)
    at l (jquery-3.3.1.min.js:2)
    at c (jquery-3.3.1.min.js:2)

Dimitar
Telerik team
 updated question on 27 Jan 2025
1 answer
415 views

Hai,

I am spending hours and hours trying to get a simple Telerik Report to work in my Blazor web app.
All documentation on the website is for ASP.Net Core 6 and the ASP.Core 7 samples I can find, do not work for me...

I have a simple Blazor Web App that communicates with a Blazor Server using controllers and endpoints like. The data is stored in a SQL Server.

I have a table 'Genders' and I simply want to show a report with the fields id and name of table genders using the 'api/gender' endpoint to get the genders: 

var response = await httpDefaultClient.GetAsync("api/gender");
        if (response.IsSuccessStatusCode)
        {
            genderList = await response.Content.ReadFromJsonAsync<List<GenderModel>>();
        }

Is there a complete walkthough, thus including creating the Telerik report itself, creating the reportcontroller, in the server, adding services etc.

I am totally new to Telerik and I simply do not understand how to implement Telerik in my application.
Hope somebody can direct me to a good, working, sample or walkthrough... 

Regards, Marc

3 answers
129 views

I am getting html content from database and i am showing that in telerik report details section in table .In table body i have added htmltextbox . There is lot's of space between row and also need to align whole content in align left .but i am unable to get .I try replace function still not working.

Could u please help me to achieve this. I notice while loading the report  Telerik applying some of the classes 

If we add single &nbsp; it giving to much space due to Telerik rendering couple of tag by default

Petar
Telerik team
 answered on 23 Jan 2025
10 answers
1.2K+ views

I'm  having an issue with the parameters for a report I'm working on.

The query which is the data source for the report is a fairly complex one:

 

SELECT sub.AssignedCity, SUM(sub.TotalIndividuals) AS TotalIndividuals, SUM(sub.SumOfBoxes) As TotalBoxes, SUM(sub.SumOfMealsServed) As     TotalMealsServed, SUM(sub.SumOf60AndOverServed) AS TotalOver60Served, SUM(sub.SumOf18AndUnder) AS Total18AndUnderServed
FROM(

SELECT EntryMonth, EntryYear, AgencyID, AssignedCity, SUM(IndividualsServed) AS TotalIndividuals, SUM(Boxes) AS SumOfBoxes, SUM(MealsServed) AS SumOfMealsServed,,SUM(Over59Served) AS SumOf60AndOverServed, SUM(Over59Served) AS SumOf18AndUnder

FROM AgencyBoxes

GROUP BY EntryMonth, EntryYear, AgencyID, AssignedCity
UNION
SELECT EntryMonth, EntryYear, HouseholdID, AssignedCity, SUM(IndividualsServed) AS TotalIndividuals, SUM(Boxes) AS SumOfBoxes, SUM(MealsServed) AS SumOfMealsServed,
SUM(Over59Served) AS SumOf60AndOverServed, SUM(Over59Served) AS SumOf18AndUnder
FROM Boxes
GROUP BY EntryMonth, EntryYear, HouseholdID, AssignedCity
) sub
WHERE EntryMonth = @prmEntryMonth AND EntryYear = @prmEntryYear
GROUP BY AssignedCity

I'm getting an error saying that I must declare a scalar variable for the two parameters. I've never seen this error before, and I have no idea what the issue is.

I'm attaching all relevant files detailing report parameters, data source parameters, etc. Any advice would be very much appreciated.

Dimitar
Telerik team
 updated answer on 23 Jan 2025
1 answer
42 views

I have embedded Telerik report designer in angular application. I want to clone the existing report and create new report programmatically.  Can anyone provide pointer on how to achieve this? Closest I could find is this i.e. copy over all the report components one by one but I find it laborious and little risky if I miss anything while copying over. 

Thanks!!

1 answer
52 views

I'm trying to accomplish what's been asked over in this question: https://www.telerik.com/forums/graph-datetime-axis-scaling without using Events (which according to the docs here: https://docs.telerik.com/reporting/embedding-reports/program-the-report-definition/report-events/overview, you should avoid and are not support on the .trdx reports that I am developing via the Stand Alone Report Designer). 

How can I dynamically set the MajorUnit and/or MajorStep as the final solution there describes without using the events as that solution does? (solution I'm referring to: https://www.telerik.com/forums/graph-datetime-axis-scaling#4445917 )

Ivet
Telerik team
 answered on 23 Jan 2025
1 answer
58 views

I am using Telerik.Reporting.Services.AspNetCore and Telerik Report Designer version 18.2.24.806. I am facing the following issue: In Telerik Report Designer, I set the font to 'Times New Roman,' and it displays correctly according to the design in the local environment. However, after deploying to the production environment, I encountered an issue where some text boxes are correctly using the 'Times New Roman' font, while others are not.

Telerik Report Designer:

 

Local:

Production:

Petar
Telerik team
 answered on 22 Jan 2025
1 answer
107 views
I am using Telerik.Reporting 17 version in my .Net 8 project but i am limited to Telerik.Reporting.OpenXmlRendering 15 version. I am getting XLSX rendering not available error while downloading excel report. I have  DocumentFormat.OpenXml 2.13. please suggest if any configuration can be done to overcome this error 
Petar
Telerik team
 answered on 21 Jan 2025
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?