React Report Viewer throws error ts(7016) on importing it in a TypeScript project:
Could not find a declaration file for module '@progress/telerik-react-report-viewer/dist/cjs/main'. 'C:/Users/dnikolov/Desktop/ReactTypesScript/my-app/node_modules/@progress/telerik-react-report-viewer/dist/cjs/main.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/progress__telerik-react-report-viewer` if it exists or add a new declaration (.d.ts) file containing `declare module '@progress/telerik-react-report-viewer/dist/cjs/main';`
When rendering a report with a Graph on Linux, the labels of the Graph are not aligned properly.
For example, right-aligned labels are offset to the left depending on the content and length of each label.
I apply the operator TOP N (=5) to get only the first 5 records of a dataset sorted by a DateTime field. It sorts the data correctly as seen in the previewed report, but still returns all data records rather than the first 5 of them.
If I apply the TOP % operator, the dataset seems filtered as expected.
The workaround I have found is to apply second TOP N filtering with an empty expression as seen in the linked screenshot.
I have attached also a sample report demonstrating the issue and the workaround.
This is not a clone. It's a new request I had to add, since the old was closed with a technically fault answer. By technically fault I mean possible, but in real scenario unusuable. F.e Jasper's SubReports have a property called DataSource. The sub-reporst uses this dataSOurce for rendering it content. The DataSource is always set on the Main report. Everything via designer, no need for coding. So I'd like to see such a possibility in telerik reports. The suggested solution - with the bindings http://www.telerik.com/forums/how-to-bind-the-datasource-of-a-subreport-in-the-designer is technically wrong. It assumes that the child report knows at which level he resides inside the main report. The child report (or it's binding) should have not such info embedded. Let's see on an example. Let's have a dataset: User.Address User.PostalAddress User.Wife.Address User.Wife.PostalAddress The dataset should be bound to the main report. The main report should have 2 sub-reports (address and postal addres). It can have an another sub-report (for wife data) which then would again have 2 sub-reports inside for addresses. Using the technically wrong solution, the addresses for the main user should have a binding expr. like: =ReportItem.Parent.DataObject.xy and the wife's addresses have like: =ReportItem.Parent.Parent.DataObject.xy There is a big problems with such a binding: the child must know the hierarchy of the data. The technically clean solution is to have a dataset assigned to the main report. When adding a sub-report to the main report, via binding we should set the new data-source for the sub report. something like: MainReport.Data = dataSource. SubReportAddress = dataSourceOfTheCurrentReport.Address. SubReportWife = dataSourceOfTheCurrentReport.Wife and inside "wife report" the next sub-report for address address should have a binding again like: SubReportWifesAddress = dataSourceOfTheCurrentReport.Address
I have a Graph with a Legend with Position LeftCenter. I want the text of the legend to be Right-aligned.
However, neither the Series > LegendItem > Style > TextAlign gets respected, nor the GraphLegend > Style > TextAlign. the text is always left-aligned.
Current version of Telerik Reporting allows to generate reports on linux environment using the gdipluslib but it doesn't support the print.
Would be nice to implement the print of the report via CUPS or IPP protocol.
Report is working fine in local IIS but not in IIS server. See error details below.
Error creating report instance (Report = 'AttendanceTagging.trdp').
An error has occurred.
A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 64. Consider using ReferenceHandler.Preserve on JsonSerializerOptions to support cycles. Path: $.
The old report that I have has the following table cell definition:
<TableCell RowIndex="2" ColumnIndex="0" RowSpan="1" ColumnSpan="1">
<ReportItem>
<TextBox Width="7.471cm" Height="0cm" Left="0cm" Top="0cm" Value="= Iif(Fields.NutzungMaschinenbreite > 0, Fields.NutzungMaschinenbreite, "")" Name="Z2S3NutzungMaschinenbreite" StyleName="">
<Style TextAlign="Center" VerticalAlign="Middle">
<BorderStyle Default="Solid" />
<BorderWidth Default="2px" />
</Style>
<ConditionalFormatting>
<FormattingRule>
<Style BackgroundColor="LightGray" />
<Filters>
<Filter Expression="Fields.Eigene" Operator="Equal" Value="= True" />
</Filters>
</FormattingRule>
</ConditionalFormatting>
<Bindings>
<Binding Path="Height" Expression="= Iif(First(Fields.Typ) = 'H', '0,66cm', '0,003cm')" />
<Binding Path="Visible" Expression="= Iif(First(Fields.Typ) = 'H', 'True', 'False')" />
</Bindings>
</TextBox>
</ReportItem>
</TableCell>
Since the Height of the inner TextBox is '0cm' the corresponding processing cell becomes Null when processing the Table and the Reporting code throws a NullReferenceException:
[NullReferenceException: Object reference not set to an instance of an object.] Telerik.Reporting.Processing.Table.ForEachCell(Action`1 action) +121 Telerik.Reporting.Processing.Table.MeasureDataItemContent(IMeasureContext context, SizeLU availableClientSize) +622 Telerik.Reporting.Processing.DataItem.MeasureContent(IMeasureContext context, SizeLU availableClientSize) +86 ...
The error message may be made more informative, stating that the table row should be at least '10px', as the designer warns in design time.
Add progress bar that indicates when the report would be fully rendered.
The version is encoded twice in each QR code; once at the top right and once mirrored at the bottom left. A comparison of the boxes tells which is the version.
The Reporting tool doesn't mirror the version correctly at the bottom left, and some strict barcode readers don't recognize the barcode correctly.
Hi Team,
I know it's a bit early to be asking for this, but I wanted to get a feature request on the backlog so it's trackable.
Currently, you already have a ReportViewer for WinUI3. This means you have a good head start for a ReportViewer that can be used in a .NET MAUI project and have native Windows support.
I'm mostly concerned about having support on a Mac, not the mobile platforms. So if you can build a MacCatalyst ReportViewer, you can cover a good portion of developers who are hoping MAUI can give them desktop support across platforms.
Thank you,
Patrick
Tip: If you use SkiaSharp or Maui.Graphics for rendering, you can get automatic cross-platform support everywhere for free
Greetings,
I have a situation, I need the telerik reporter filters to be more intelligent, that is to say that they are nested and that the information they present when loading the data is according to the information selected from the other filters.
Example :
REPORT VEHICLE SPECIFICATIONS
selected > Filter : Person Name
Cars : List of Cars of a Person
Expected Results : List of Cars of selected person
Actual Telerik Report Results : List of Cars of ANY person
How do i work with nested filters ?
The JS file with the stringResources shipped with the installation at the following location:
C:\Program Files (x86)\Progress\Telerik Reporting <Release>\Html5\ReportViewer\js
is incorrect, it should be as shown in the Localization - Telerik Reporting article.
Basically, line 9 should be changed to:
; (function (trv, $) {
while lines 178 to 180 should be like this:
trv.sr = $.extend(trv.sr, sr);
}(window.telerikReportViewer = window.telerikReportViewer || {}, jQuery));
I have a multipage report and my Html5 Viewer is set up in an ASP.NET Core application in .NET 5. The viewer's settings are:
viewMode: "PRINT_PREVIEW", scaleMode: "FIT_PAGE_WIDTH", pageMode: "CONTINUOUS_SCROLL",
The problem is that I cannot scroll down to the end of the report.
The issue may not occur in other frameworks with the same report.
The current implementation of the angular / HTML5 report viewer requires a script-src 'unsafe-eval' in a content-security-policy.
This is quite unfortunate in terms of security considerations. Please remove this requirement.
Kind regards
Claudio