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.
Since upgrade to openXML 3.0.0 we get exceptions at runtime when we want to create a report in XLS.
While a feature request has been filed here: https://feedback.telerik.com/reporting/1631967-openxml-renderings-should-work-with-documentformat-openxml-3-0-0-and-newer one could argue it is a bug. Anyway, i raise this issue here to have some extra attention to it.
System.TypeLoadException
HResult=0x80131522
Message=Could not load type 'DocumentFormat.OpenXml.Packaging.ImagePartType' from assembly 'Telerik.Reporting.OpenXmlRendering.2.7.2, Version=17.2.23.1114, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' due to value type mismatch.
Source=Telerik.Reporting.OpenXmlRendering.2.7.2
StackTrace:
at Telerik.Reporting.OpenXmlRendering.Spreadsheet.Worksheet..ctor(Workbook workbook, WorksheetPart worksheetPart)
at Telerik.Reporting.OpenXmlRendering.Spreadsheet.Workbook.AddWorksheet()
at Telerik.Reporting.ExcelRendering.Report.Render(IWorkbook workbook)
at Telerik.Reporting.OpenXmlRendering.Spreadsheet.SpreadsheetReport.Telerik.Reporting.Processing.IRenderingExtension.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
at Telerik.Reporting.Processing.ReportProcessor.RenderCore(ExtensionInfo extensionInfo, IList`1 processingReports, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)
at Telerik.Reporting.Processing.ReportProcessor.ProcessAndRender(String format, ReportSource reportSource, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)
at Telerik.Reporting.Processing.ReportProcessor.ProcessAndRenderStateless(String format, ReportSource reportSource, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)
at Telerik.Reporting.Processing.ReportProcessor.<>c__DisplayClass47_0.<RenderReport>b__0(SingleStreamManager sm)
at Telerik.Reporting.Processing.ReportProcessor.RenderReportSafe(Func`2 renderCallback, String format, IRenderingContext renderingContext)
at Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, ReportSource reportSource, Hashtable deviceInfo, CancellationToken cancellationToken)
at Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, ReportSource reportSource, Hashtable deviceInfo)
at Indato.Reporting.TelerikReports.<>c__DisplayClass1_0.<RenderReportAsync>b__0() in C:\Users\leosiepel\Source\Workspaces\Indato\Indato-Main\Indato.Reporting\TelerikReports.cs:line 42
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
The Standalone Report Designer allows users to add Anchoring to an item even if its container has KeepTogether set to False. This is not valid and can break report definitions without a warning.
The reports can be fixed by editing the XML code of the definition manually and setting the KeepTogether property to True.
running your https://demos.telerik.com/reporting in Chrome 77.0.3865.75, when trying to print the following error is returned:
Refused to execute script from 'https://p.adsymptotic.com/d/px/?_pid=16218&_psign=0aa5badf92527f7732e22463d6fa4dbc&coopa=0&gdpr=0&gdpr_consent=&_puuid=1ddd0495-ceb5-4cd4-b879-03f7c6be269b' because its MIME type ('image/gif') is not executable.
and nothing happens.
wasn't this fixed in your latest update?
is there a workable solution for this issue?
I am getting an error message, even when setting the culture manually to 'en-US', that the culture 'aa' is not found. Tried other approaches to get the culture manually installed, but there shouldn't be a reason your code is pulling all cultures when 'en-US' is the one being manually set by my code and in the report designer.
When I try to export a ReportBook to TIFF as explained in Exporting a report to a multi-document format, I receive an exception related to the file '.../report/image.tif' that cannot be created.
When I create the folder '.../report', there is another exception message:
'The process cannot access the file '...\report\image.tif' because it is being used by another process.'
The above error was thrown the second time the ReportProcessor tried to access the 'CreateStream' method from the code snippet in the above article. The 'image.tif' file is created and contains only the first report from the ReportBook.
With version 15.0.21.112 the last exception is not thrown and the 'image.tif' file contains all reports from the ReportBook.
Not sure if you are aware of this but the new property SkipBlankPages in 2021/R1 will result in a corrupt (unopenable) PDF/XLS if the report contains no data.
The output used to be a blank report.
This behaviour is fixed by setting the Value to 'False' but this now requires the developer to remember to set this value on each new report. Perhaps the default should have stayed as 'False' and those who wish to remove blank pages could set it to true.
We are aware the property is set to true by default.
We have now had to modify (and subsequently retest) > 100 reports.
The generator should probably not create a 'corrupt' file in these cases.
Kind regards
I have DataSource assigned to my report, which content is displayed in its Detail section. The Page sections have some static content. The SkipBlankPages property is set to False.
When the data set received by the report is empty, the static content in its Page sections is not displayed in Interactive View. In PrintPreview the Page Header/Footer content is displayed as expected. When the data set returns valid data, the Interactive view displays everything as expected.
The report processing is stopped and the following message is shown when trying to preview a report that uses one of the available DataDirect drivers in a .NET Core application.
The same report can be previewed successfully in a .NET Framework application.
When editing a report that has a watermark of type BackgroundOverlay with Sizing set to TopLeft, the design time preview of the watermark does not scale with the zoom level correctly.
The preview displays correctly only at 100% zoom level.
We upgrade to 17.2.23.1010 and after going through the report Upgrade Wizard we are getting this error for the CheckBox item:
Error CS0266 Cannot implicitly convert type 'System.Drawing.ContentAlignment' to 'Telerik.Drawing.ContentAlignment'. An explicit conversion exists (are you missing a cast?)
To prevent questions that I can't answer: I'm an end user for this product. I DO NOT have the ability to look at or update code related to the tools integration. So please ignore my answers to Product Version and Target Framework. They were required before I was allowed to post this ticket.
The uploaded report has 6 components.
Two panels (one containing multiple objects, the other only containing one object [hb2])
4 text boxes each with some bindings.
The two key components to look at for the issue are hb and hb2. Both these objects are identical and both have the same bindings for height and top.
From my math hb2 is correctly positioned and sized by hb has been pushed down. The only difference is that other objects are in the container for hb.
Without any containers, hb and hb2 are positioned incorrectly.
I'm doing all this because the vertical alignment for text boxes was not working, once I exported to PowerPoint.
What I expected was that the Top value would only depend on the container holding the component and the components' top value. I did not expect it to be dependent on a mixture of variables from other components also held within the same container.
When using the SqlDataSource component with a stored procedure that has an IF-ELSE condition which selects a different set of columns depending on whether the condition is true or false, the returned data schema is always as if the condition is evaluated to true.
While the schema is wrong, if I manually type the fields, at runtime, they get resolved correctly but it is inconvenient.
Currently, the Map's TileProvider UrlTemplate property may be set only to a hard-coded string. It would be very useful to be configurable as an Expression to allow for dynamic values.
Telerik.Reporting.Services.HttpClient version
17.2.23.1114
references a bad version of
Microsoft.IdentityModel.Clients.ActiveDirectory
That has inconsistent references as can been seen from this error (from System.Private.DataContractSerialization 4.1.1)
##[error]src\Cms.Wpf\Cms.Wpf\Cms.Wpf.csproj(0,0): Error NU1605: Warning As Error: Detected package downgrade: System.Text.Encoding.Extensions from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. Demurrage -> Telerik.Reporting.Services.HttpClient 17.2.23.1114 -> Microsoft.IdentityModel.Clients.ActiveDirectory 3.14.0 -> System.Runtime.Serialization.Json 4.0.2 -> System.Private.DataContractSerialization 4.1.1 -> System.Xml.ReaderWriter 4.0.11 -> System.IO.FileSystem 4.0.1 -> runtime.win.System.IO.FileSystem 4.3.0 -> System.Text.Encoding.Extensions (>= 4.3.0) Demurrage -> Telerik.Reporting.Services.HttpClient 17.2.23.1114 -> Microsoft.IdentityModel.Clients.ActiveDirectory 3.14.0 -> System.Runtime.Serialization.Json 4.0.2 -> System.Private.DataContractSerialization 4.1.1 -> System.Text.Encoding.Extensions (>= 4.0.11)
This results in a publish failure with .net 8 where warning are treated as errors by default when publishing.
A workaround is to add<NoWarn>NU1605</NoWarn>
When HtmlTextBox is empty and i click some expression is added like this " = Len("bla")", but when something is already put is added like this "{Len("bla")}
Problem with version " =" is it does not work with neither text.
This is my scenerio, I pick some function for example Len(), and then i want to add some info, and i've got
= Len("numbers") numbers
and there is error in viewer
but when i put first "numbers" and click expresion len
expression is added with {} and it works ok in viewer
The following exception can be thrown when setting the Value of a PictureBox to an invalid type:
System.ArgumentException: You can assign System.String, IImage, System.Drawing.Image or SkiaImage objects only.
at Telerik.Reporting.PictureBox.set_Value(Object value)
This is misleading because an object of type System.Drawing.Image is not supported when using the Skia graphics engine. Passing an SKImage does not work either due to an error in the processing stage.
If you need to use a System.Drawing.Image object or an SKBitmap instance, you can take advantage of the DrawingFactory class.
The error below is thrown in PictureBox when System cryptography Use FIPS compliant algorithms is enabled:
An error has occurred while processing PictureBox 'pictureBox1': Exception has been thrown by the target of an invocation.