Telerik Forums
Reporting Forum
0 answers
377 views

While the introduction of Cross-section Items have made it possible for me to create simple invoice-style reports, it currently has a limitation that keeps it from being used for more complex reports.

Specifically, the following limitation prevents this functionality from being used when each invoice/group item might require different line visibility/length:

The Cross-section item uses the report's data context and cannot be evaluated against detail or group data. The processing engine produces a single instance per each Cross-section item in the report definition, therefore its style or visibility cannot be changed based on data fields.

 

Are there currently any plans to remove this limitation in the near future?

Sam
Top achievements
Rank 1
 asked on 04 Jan 2022
2 answers
292 views

hello, 

i'm using Telerik reporting version 11.2.17.1025

when i'm tring to generate simple PDF/UA using EnableAccessability property in deviceinfo object

and check the output file in adobe acrobat reader properties i see that "Tagged PDF"  is still "No".

other properties on deviceinfo work fine.

this is the simple source code i'm using:

       

Dim reportProcessor As New ReportProcessor()
Dim deviceInfo As New System.Collections.Hashtable()
deviceInfo.Add("EnableAccessiblity", "True")
deviceInfo.Add("DocumentAuthor", "Shlomi Kakon")
 Dim rs As New Telerik.Reporting.InstanceReportSource()
rs.ReportDocument = New BarcodesReport()
Dim result As RenderingResult = reportProcessor.RenderReport("PDF", rs, deviceInfo)
 File.WriteAllBytes(String.Format("C:\Temp\{0}.", Guid.NewGuid.ToString("n")) & result.Extension, result.DocumentBytes)

what can be the problem?

 

thank's

Shlomi

 

 

Ivan Hristov
Telerik team
 answered on 04 Jan 2022
1 answer
736 views

Hi,

In our project we are using html5 report viewer and web report designer. There is an issue with the report web designer.

To reproduce it you can use Html5IntegrationDemo project from "..Progress\Telerik Reporting R3 2021\Examples\CSharp\.NET 5\Html5IntegrationDemo" folder.

For the report name we want to get dynamically from URL. To do this we changed webReportDesigner.html file with this custom code:

If you open "Dashboard" report it will work fine: http://localhost:51862/webReportDesigner.html?report=Dashboard.trdp

But, on second time, if you try to open another report it still opening previous report. http://localhost:51862/webReportDesigner.html?report=Barcodes%20Report.trdp

It's opening "Dashboard" report instead of opening "Barcodes" report. 

How we should design to be able to open only correct report?

 

Thank you,

Byron
Top achievements
Rank 1
Iron
 answered on 31 Dec 2021
0 answers
527 views
We have an web app and we are using telerik report viewer for the report purpose. But if we keep the page as it is for 60 min it is showing "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)". Can someone please help? We are trying to pinpoint what is the reason of this error. We also found that the format is keeping the expired token and we are not able to set the token.
MITHUN
Top achievements
Rank 1
 asked on 31 Dec 2021
1 answer
462 views

create a fixedReadonly doc by importing readonly pdf
create a fixedFillable doc by importing fillable pdf
fixedReadonly.Merge(fixedFillable)

 

Remzy
Top achievements
Rank 1
 updated question on 27 Dec 2021
1 answer
287 views

Hi. I am done setting up Telerik Rest Service and CORS to be embedded in Angular. However, some several issues pop up when i follow the documentation below which is the step to integrate the sample report in to Telerik :

 

https://docs.telerik.com/reporting/integrating-the-report 

 

1. There is no option to navigate to ASP .NET Web Application (.NET Framework Visual C#). Hence, I select ASP .NET Core Web App only. Btw, I am using Microsoft Visual Studio 2022.

2. When I proceed to the next step, there is no option on "Existing report definition" to configure the report source. Only Sample report definition is appear.

3. There is no web.config file in the solution which is necessary to added named connection string to the report. 

 

The final result on the angular is shown in the attachment.

Can someone help me to guide me on how to solve this issue? 

Thank you!

 

Dimitar
Telerik team
 answered on 27 Dec 2021
0 answers
144 views

Hi,

I would like to select multiple rows in grid and than by clicking on custom action to pass them on to report and show them as available values for report parameter.

Are there any working examples of this behavior? I'm using ASP.NET Core UI, working on .NET 5.0.

Stefan
Top achievements
Rank 1
Iron
 updated question on 27 Dec 2021
0 answers
797 views
Hello!

I did the sending of data to the parameter of the SQL procedure worse than telerik reporting, it always returns the results that I initially put when I added the parameters to the report. I need to be able to replace those values ​​that I set by default with the ones that I send to obtain different results.

From already thank you very much, greetings

 

Dim telReportStockMinimo As New Telerik.Reporting.Report
        Dim instanceReportSource = New Telerik.Reporting.InstanceReportSource()
        Dim codProddesde = frmSeleccionStockMinimo.lblProdDesde.Text
        Dim codProdhasta = frmSeleccionStockMinimo.lblProdHasta.Text
        Dim cantidad = frmSeleccionStockMinimo.txtcantidadMinima.Text
        instanceReportSource.ReportDocument = New telReportStockMinimo
        Me.ReportViewer1.ReportSource = instanceReportSource
        instanceReportSource.Parameters.Add(New Telerik.Reporting.Parameter("codProdDesde", codProddesde))
        instanceReportSource.Parameters.Add(New Telerik.Reporting.Parameter("codProdhasta", codProdhasta))
        instanceReportSource.Parameters.Add(New Telerik.Reporting.Parameter("cantidad", cantidad))
        ReportViewer1.RefreshReport()
agustin
Top achievements
Rank 1
Iron
Iron
 updated question on 24 Dec 2021
1 answer
218 views
Hy,

I creating a new telerik report and I want this report to export in excel. This new report has a table where a define my columns but I want my last 3 columns when I make a excel export (I select the option Excel Worksheet, see the PNG img for more info) to be in a group.  Is there an option from telerik report to make the excel export create this group?

I also attached an excel file to see how I want my output (that +/- is my group, when I press + it show my columns and when I press - it hide my columns).

If you need more details, please let me know.

0 answers
144 views

Hi all,

I am new to Telerik and stuck.  Using Report Designer ver. 15.1.21.616.  Have a basic table which has user names and timestamps for when their accounts were activated.  Need to get a simple count of how many were activated in the last 30, 60 and 90 days. Tried with the main (server side) query such as 

Select name, ActionTimeStamp from UserRequest where ActionTimeStamp > AddMonths(Today(),-1)

or,

Select name, ActionTimeStamp from UserRequest where ActionTimeStamp > DATEADD(day, -30, getdate())

to no avail; getting different kinds of errors. 

Tried downloading the whole table (without a WHERE statement) and use an expression imbedded inside a Text Box to get the count. Just to make sure the function works, tried: 

[= AddMonths(Today(),-1)] 

and it works, it gives me the date 30 days before today. So tried to build on AddMonths(). Tried the following, and any combination that I could think of, and yet cannot get any results!!

[= "Recs last month: " + Count(CDate(Fields.ActionTimeStamp) > CDate(AddMonths(Today(),-1)))]

What am I doing wrong?

Greatly appreciate your help; thank you, guys,

Tony

tony
Top achievements
Rank 1
 updated question on 23 Dec 2021
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?