I have C# external c# function that my report is uses =pws_service.Reports.ReportFunctions.IndentLevel(Fields.Pad, Exec('table5', AllDistinctValues(Fields.Pad)))
It looks like the report designer is unable to locate the c# function code. Is there a configuration to say where this code lives?
Hello,
I can see that we can operate over a file definition using save, open, and save as. It would also be nice to be able to download the report definition as well.
I am rendering a report with multiple large images in PDF. The rendering fails with the following error:
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32 value)
at System.IO.MemoryStream.EnsureCapacity(Int32 value)
at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.BinaryWriter.Write(Byte[] buffer)
at System.Runtime.Serialization.Formatters.Binary.__BinaryWriter.WriteSingleArray(NameInfo memberNameInfo, NameInfo arrayNameInfo, WriteObjectInfo objectInfo, NameInfo arrayElemTypeNameInfo, Int32 length, Int32 lowerBound, Array array)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteArray(WriteObjectInfo objectInfo, NameInfo memberNameInfo, WriteObjectInfo memberObjectInfo)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
at Telerik.Reporting.Cache.SerializationUtils.Serialize(Object value)
at Telerik.Reporting.Services.Engine.PersistableObject.SetObject(String key, Object value)
at Telerik.Reporting.Services.Engine.DocumentResources.AddResource(RenderingResource resource)
at Telerik.Reporting.Services.Engine.Rendering.StoreRenderingStream(RenderingStream renderingStream)
at Telerik.Reporting.Services.Engine.RenderingStream.Finish()
at Telerik.Reporting.ImageRendering.DocumentPdf.EndDocument()
at Telerik.Reporting.Writing.DocumentWriter.Telerik.Reporting.BaseRendering.IWriter.WriteEndDocument()
at Telerik.Reporting.BaseRendering.PageHandler.Telerik.Reporting.Paging.IPageHandler.EndDocument(Boolean output)
at Telerik.Reporting.Paging.PageCompositionBase.<>c__DisplayClass110_0.<CreatePageContentOutputTask>b__0()
An error has occurred while rendering the report: System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at System.Threading.ManualResetEventSlim.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.SpinThenBlockingWait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.InternalWait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Telerik.Reporting.Paging.PageCompositionBase.SeparateThreadOutputBehavior.Finish()
at Telerik.Reporting.Paging.PageCompositionBase.CreatePages()
at Telerik.Reporting.Paging.PagerBase.Telerik.Reporting.Paging.IPager.CreatePages(IPageHandler handler, LayoutElement root)
at Telerik.Reporting.BaseRendering.RenderingExtensionBase.Render(LayoutElement root, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback, PageSettings pageSettings)
When trying to duplex print a report that has odd page numbers, the next report's first page prints on the back of the previous report. We need the ability to conditionally insert a page break based on whether the report's (the group's) page count is odd or even. Since we don't have access to the global pagecount variable outside the footer, there is no way to use it to insert a page break into the body of the report. This seems like it would be such a common need with the desire by many to save paper that it would be an obvious feature to include in the product. Thanks.
Hi,
Yesterday I upgraded our application to Angular 11 and the builds started failing with a couple of different errors. First of all there was this with Ivy enabled:
Error: ./node_modules/@progress/telerik-angular-report-viewer/dist/dependencies/initExtDeps.js
Module not found: Error: Can't resolve '.\telerikReportViewer.kendo.min' in '/home/sylvain/aline-web/node_modules/@progress/telerik-angular-report-viewer/dist/dependencies'
resolve '.\telerikReportViewer.kendo.min' in '/home/sylvain/aline-web/node_modules/@progress/telerik-angular-report-viewer/dist/dependencies'
using description file: /home/sylvain/aline-web/node_modules/@progress/telerik-angular-report-viewer/package.json (relative path: ./dist/dependencies)
Field 'browser' doesn't contain a valid alias configuration
using description file: /home/sylvain/aline-web/node_modules/@progress/telerik-angular-report-viewer/package.json (relative path: ./dist/dependencies/telerikReportViewer.kendo.min)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/sylvain/aline-web/node_modules/@progress/telerik-angular-report-viewer/dist/dependencies\telerikReportViewer.kendo.min doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/home/sylvain/aline-web/node_modules/@progress/telerik-angular-report-viewer/dist/dependencies\telerikReportViewer.kendo.min.ts doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/home/sylvain/aline-web/node_modules/@progress/telerik-angular-report-viewer/dist/dependencies\telerikReportViewer.kendo.min.tsx doesn't exist
.mjs
Field 'browser' doesn't contain a valid alias configuration
/home/sylvain/aline-web/node_modules/@progress/telerik-angular-report-viewer/dist/dependencies\telerikReportViewer.kendo.min.mjs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/sylvain/aline-web/node_modules/@progress/telerik-angular-report-viewer/dist/dependencies\telerikReportViewer.kendo.min.js doesn't exist
as directory
/home/sylvain/aline-web/node_modules/@progress/telerik-angular-report-viewer/dist/dependencies\telerikReportViewer.kendo.min doesn't exist
[/home/sylvain/aline-web/node_modules/@progress/telerik-angular-report-viewer/dist/dependencies\telerikReportViewer.kendo.min]
[/home/sylvain/aline-web/node_modules/@progress/telerik-angular-report-viewer/dist/dependencies\telerikReportViewer.kendo.min.ts]
[/home/sylvain/aline-web/node_modules/@progress/telerik-angular-report-viewer/dist/dependencies\telerikReportViewer.kendo.min.tsx]
[/home/sylvain/aline-web/node_modules/@progress/telerik-angular-report-viewer/dist/dependencies\telerikReportViewer.kendo.min.mjs]
[/home/sylvain/aline-web/node_modules/@progress/telerik-angular-report-viewer/dist/dependencies\telerikReportViewer.kendo.min.js]
@ ./node_modules/@progress/telerik-angular-report-viewer/dist/dependencies/initExtDeps.js 9:19-62
@ ./node_modules/@progress/telerik-angular-report-viewer/dist/es/telerik-report-viewer.component.js
@ ./node_modules/@progress/telerik-angular-report-viewer/dist/es/main.js
@ ./libs/handling/ship-dossiers/src/lib/handling-ship-dossiers.module.ts
@ ./libs/handling/ship-dossiers/src/index.ts
@ ./apps/aline-portal/src/app/app.routing.ts
@ ./apps/aline-portal/src/app/app.module.ts
@ ./apps/adash/src/app/app.module.ts
@ ./apps/adash/src/main.ts
[91m @ multi ./apps/adash/src/main.ts
Checking the initExtDeps.js file, this error is completely legit since it has a path to file with Windows notation. Our builds run in Linux containers, making this fail, obviously. Changing that file manually makes to requre like so
window.kendo = require('./telerikReportViewer.kendo.min');
makes the build succeed.
When disabling Ivy I'm getting the following error, which I was unable to resolve:
Error: Cannot determine the module for class TelerikReportViewerComponent in /home/sylvain/aline-web/node_modules/@progress/telerik-angular-report-viewer/dist/cjs/telerik-report-viewer.component.d.ts! Add TelerikReportViewerComponent to the NgModule to fix it.
On attempt to display reports in Print Preview in Angular applications, an error is thrown if continuous scrolling is enabled.
Possible workaround: Disable continuous scrolling by setting the pageMode option to 'SINGLE_PAGE'.
Then the HTML5 ReportViewer is set to pageMode SINGLE_PAGE and an update triggeres the Viewer to retrieve the document, the new document is never displayed.
Status messages appear as usual, "Loading report", "0 pages loaded so far" and "Done. Total 1 pages loaded." but the gray overlay of the Viewer is never removed and the report is not updated. Parameters and toolbar-menu can still be interacted with and trigger new updates, but will not cause the viewer to show the report correctly. Refresh required
The following error may be thrown when trying to render a report in PDF under .NET 5 in the Linux systems:
"SEH":"System.ArgumentOutOfRangeException: Index and length must refer to a location within the string. (Parameter 'length') at System.String.Substring(Int32 startIndex, Int32 length) at Telerik.Reporting.Paging.TextBox.MeasureText(String text, TextFormat format) at Telerik.Reporting.Paging.TextBox.CreateContent(InitializationContext initContext) ...
The same reports work correctly in Windows.
Change the Font Name of a TextBox from Arial to Calibri
Go to another TextBox and change the Font Name from Arial to Calibri.
This is the error I get: "Could not change the property 'Name'. Name 'Calibri' already exists."
The same error occurs when trying to change multiple TextBoxes at once.
The design-time web service data source parameter values are not displayed in the Web Report Designer while correctly read by the Standalone designer.
The run-time web service data source parameter values are displayed as [object] rather than expressions.
Check this screenshot for clarity.
If you open https://demos.telerik.com/reporting/designer?_ga=2.145120566.369274565.1605642252-790264781.1600201366 the problem can be seen.
Select one of the TextBoxes such as TextBox1
Select the Layout > Size Properties of the TextBox
Try to change the Width to 3.5 in.
Notice the Width goes to 35 instead of 3.5
This is the same case for Location > Left & Top and Size > Height
When applying the property Docking with either of the following values will cause the Visual Studio Report Designer to squeeze the table down to 0 width:
While the value 'Right' will cause the table to be rendered outside of the report-section on the left side. This is reproducible with the example report CryptoCurrencies.cs.
I am currently using Reporting 13.2.19.1030.
The following error occurred while using Reporting.
'Non-Error promise rejection captured with value: Error shown. Throwing promises chain stop error.'
I looked up the cause of this error, and I was able to confirm the following article.
As explained in the above article, the error in Report Server (5.1.19.618) has been corrected to appear to be a significant error.
So I looked up the release note to see if this error was fixed in the Reporting product, but I couldn't find any related information.
Is this error corrected on the Report Server only and not corrected in Reporting? If so, when can it be revised?
The ObjectDataSource component in the Web Report Designer does not have complete design-time support. The major things that are missing: