For my Object Data Source, I am using a nuget package that has a dependency on Microsoft.Extension.Primitives. The custom assembly is correctly registered in the designer's configuration file and the DLLs are copied to the Report Designer (.NET version) directory. I get this error:
Telerik.Reporting.Expressions.InvalidExpressionException: An error has occurred while executing function UsePrimitives(). Check the InnerException for more information. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Extensions.Primitives, Version=3.1.18.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. Could not find or load a specific file. (0x80131621) File name: 'Microsoft.Extensions.Primitives, Version=3.1.18.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' ---> System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Extensions.Primitives, Version=3.1.18.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, String ilPath, String niPath, ObjectHandleOnStack retAssembly) at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath) at System.Reflection.Assembly.LoadFrom(String assemblyFile) at System.Reflection.Assembly.LoadFromResolveHandler(Object sender, ResolveEventArgs args) at System.Runtime.Loader.AssemblyLoadContext.InvokeResolveEvent(ResolveEventHandler eventHandler, RuntimeAssembly assembly, String name) at System.Runtime.Loader.AssemblyLoadContext.OnAssemblyResolve(RuntimeAssembly assembly, String assemblyFullName) at ClassLibrary1.Class1.UsePrimitives() --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at Telerik.Reporting.Expressions.FunctionNodeEval.Eval(Object row, Object context) --- End of inner exception stack trace --- at Telerik.Reporting.Expressions.FunctionNodeEval.Eval(Object row, Object context) at Telerik.Reporting.Expressions.EvalObject.Eval(ExpressionNode expressionNode, Object data, Object context) at Telerik.Reporting.Processing.ProcessingElement.Evaluate(Object value, Object data, EvalObject evalObject) at Telerik.Reporting.Processing.ProcessingElement.Evaluate(Object value) at Telerik.Reporting.Processing.TextBox.ProcessItem() at Telerik.Reporting.Processing.ReportItemBase.ProcessElement() at Telerik.Reporting.Processing.ProcessingElement.Process(IDataMember dataContext)
I am preparing report having Arabic and English text.
In the Standalone Report Designer for the .NET Framework, Report Preview and exported documents, including PDF are fine with R3 2023 and older versions from 2023.
When I render the same report in PDF in .NET 7 WebApi or with the .NET 6 Standalone Report Designer with R3 2023, the Arabic text is broken. The same look as expected with R2 2023 SP1 and previous Reporting versions.
The native Angular Report Viewer does not expose a 'setReportSource' or similar method that can be used to update the reportSource object of the viewer after initialization.
This means that the parameters or the report loaded by the viewer cannot be changed in code and I have to expose the report parameters and use Navigate To Report actions for loading different reports.
Previously, the Processing.PictureBox property Image required a System.Drawing.Image.
Starting with R3 2023 it requires Telerik.Drawing.IImage, and throws the exception:
Cannot implicitly convert type 'System.Drawing.Image' to 'Telerik.Drawing.IImage'. An explicit conversion exists (are you missing a cast?)
Output with Skia in Linux Docker:
Expected output (Skia/GDI in Windows):
When a system tells users they should look into the report parameters as the reason the report isn't displaying. It's reasonable for your users to believe you aren't misleading them.
The report viewer error message misleads users. In reality the parameters are correctly configured and it the repot URL could be wrong. Or a variety of other issues are at play; for instance, a problem with you connection string will also return the "Unable to get report parameters" error message. I'd like to see this error message at minimum changed to "report can't display." It's better to throw out a generic message vs having users spend hours or days troubleshooting the report parameters. Better yet a proper catch/validation system put into place please.
Since R3 2023, all HTML5IntegrationDemo examples found in the Telerik Reporting installation directory (C:\Program Files (x86)\Progress\Telerik Reporting R3 2023\Examples\CSharp) target .NET 6.
To work around the issue, open the .csproj file of each demo and set the target framework to the corresponding version.
The CSV renderer ignores the visible state of elements in a report definition (sections, headers, footers, text boxes etc.) with the Visible property to false - either explicity or by binding.
This results in much redundant content in the CSV file, that is often not even the actual output/result data - which should be the primary focus of a format like CSV.
Being able to control the output brings much flexibility to the CSV feature. Though Reporting primarily has a focus on a more rich, visual display of data, having access to the same "raw" result set that a report would evaluate can be very useful, without having to try replicate through other means.
Binding the Visible property of elements to: = RenderingFormat.Name <> "CSV" would allow the choice of including what makes sense in the ouput, even allowing a different "view" of the data, which could contain just detail row fields or additionally, summary fields from group and report headers & footers.
When previewing (in print preview mode) reports that have been rendered on a Report Server instance with the WinForms Report Viewer, the result looks like the screenshot below.
The above is reproducible in the Standalone Report Designer as well because it uses the WinForms Report Viewer internally.
The Upgrade Wizard throws an error when upgrading projects containing reporting-related JS/CSS/etc. report viewer files. For example:
Could not find file 'C:\Program Files (x86)\Progress\Telerik Reporting R3 2023\Html5\ReportViewer\js\telerikReportViewer.kendo-17.2.23.1010.min.js'.
The files in question are present in the expected directory but they no longer have the version number suffix in their names ('-17.2.23.1010' in the example above). Copying the files and adding the suffix to the copies resolves the issue.
Currently, if a ReportBook contains nested ReportBooks that have their own TOC sections, the final document generated from the main ReportBook will not contain any TOC sections.
Adding the ability to display the TOCs of nested ReportBooks will be useful in preserving the original design of each ReportBook.
Hi,
HTML viewer is showing Arabic words correctly while PDF Export shows splitted characters.
Correct word : فاتورة
Wrong word with splitted characters : ةروتاف
Please find attached screenshots for reference. The issue is appearing only with Linux container.
Telerik support ticket (https://www.telerik.com/account/support-center/view-ticket/1623687) was created and got reply that it is because of libgdiplus library and we were expecting that this issue will be resolved in R2 2023 but it still persists.
Adding a custom font as PrivateFont in the appssettings.json is not respected.
When the font is installed, it works also for the report in the viewer.
The issue may be reproduced with the Reporting WinUI example for .NET 6.
The Stack Trace states:CSharp.Net6.WinUIIntegrationDemo Warning: 0 : A font family for font "MICR" cannot be found. Exception: Font 'MICR' cannot be found. Font 'MICR' is substituted with font 'Microsoft Sans Serif'.
Currently, the parameters' editors of the WRD's internal viewer cannot be changed. A report parameter with available values is always rendered with the ListView widget.
I would like to be able to use the viewer's built-in ComboBox widget as shown in the HTML5 Report Viewer Options Overview - Telerik Reporting article, and to also be able to use a custom one.
Standalone Report Designer crashes on start when opening TRDP reports from Visual Studio. See the attachedimages below:
The stack trace came about after trying to open multiple files through VS and popped up after about report number 3 or 4. Lastly, for us "sometimes" the reports open, sometimes they don't. If it does open the report going through VS, then the Standalone Report Designer will randomly shut down/crash with no errors (after 5 to 30 minutes of active use. We haven't found a pattern for what makes the Designer crash.
So far, the Designer doesn't crash if started from the Windows Explorer.
Could you add a property to the TelerikReportViewer so the user can pass queryStringParams to server api calls. For my case, I need it to support multi-tenant.
Thanks
When the Report has a Picture Watermark or BackgroundOveray with Opacity 1, in the preview of the viewer, in PDF and PPTX the watermark is displayed behind the text. In DOCX though, the watermark covers the text.
In some scenarios, it is necessary to execute a special code when the user cancels report rendering in Report Viewers.
A special event raised when the report rendering is canceled will be very useful for these scenarios.
Currently the interface for `IReportSourceResolver.Resolve` only allows for a synchronous implementation of `Resolve`. It'd be nice if the interface allowed for an asynchronous implementation, too.
This is in reference to Telerik Reporting API Server with a custom report source resolver.