After installing the latest version, the WebServiceDataSource wizard does not send query parameters.
When the report is previewed, the WebServiceDataSource performs the request correct and the expected result is returned.
In Web Report Designer HtmlTextBox input is just simple TextArea. There is a great need to be able to enter rich text as in a desktop application.
https://docs.telerik.com/reporting/report-items/htmltextbox/overview
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.I have a following default code in a html file for a web designer.
$(document).ready(function () {
$("#webReportDesigner").telerik_WebReportDesigner({
persistSession: false,
toolboxArea: {
layout: "list"
},
serviceUrl: "some url",
report: "some_report_name",
}).data("telerik_WebDesigner");
});
I have also a custom report storage implemented from IDefinitionStorage, where I have a GetDefinition("some_report_name") method implemented in a custom way. In order to do that, I need to send additional parameters from a web designer (html code provided previously) but don't know how to do that.
For example, I need to open SalesInvoice.trdx file and I do a following: report: "SalesInvoice.trdx". If i need to send additional parameter, let's say some kind of token, there is no good place to send it. As a work around, i am doing report: "SalesInvoice.trdx&token=123". The problem with this, it is appearing in a title of a web designer and I don't want that. In an attachments, there is a screenshot where it looks good with a simple name and the one which has a token in it.
So, the question is, can I send other parameters as well from a client side of web designer to the server like parameters or so?
In a HTML5 ReportViewer we can send report file name and parameters as a reportSource like this:
serviceUrl: serviceUrl,
reportSource: {
report: reportUrl,
parameters: reportParams,
Can we do the same? Or how can I do that?
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.
What's the long-term plan for supporting Linux and Telerik Reporting? The dotnet design team is looking to remove support for System.Drawing.Common on Linux platforms. They're recommending compiler warnings in .Net 6, and full PlatformNotSupportedExceptions in .Net7
Sources:
designs/system-drawing-win-only.md at main ยท dotnet/designs (github.com)
Breaking change: System.Drawing.Common only supported on Windows - .NET | Microsoft Docs
Hello,
We use WebServiceDataSource with OData query in our reports. Sometimes OData can through an exception.
In our case, we have added Web Service DataSource and set this OData query for its Service Url:
https://services.odata.org/V3/Northwind/Northwind.svc/Products(1)?$select=ProductName1
If you see the query, it is selecting "ProductName1" property of "Product #1". But "ProductName1" property does not exist (correct property name is "ProductName"). When we use Postman for the OData query above, it shows an error which you can see from attached picture (ErrorWhenWeUsePostman.PNG, "Could not find a property named 'ProductName1' on type 'NorthwindModel.Product'"). From the second picture (TelerikReportingGeneralError.PNG, "An error has occurred... Response status code does not indicate success: 400 (Bad Request).") you can see the result of our test report (in html5 report viewer) that has the same OData query.
The question is when we preview our report (in html5 report viewer) how can we show the error message that OData sent instead of showing Telerik reporting general error?
Instead of this message:
An error has occurred while processing Report 'TestReportWithWebServiceDataSource': Response status code does not indicate success: 400 (Bad Request).
This OData error message should be handled and shown on browser (html5 report viewer) when previewing report:
Could not find a property named 'ProductName1' on type 'NorthwindModel.Product'
FYI: We are using Telerik Reporting version 15.0.21.224.
This is my post on Telerik forum related with this: How to get internal error message from Custom Report Resolver
Thank you,
In .NET Core the localization routines have changed and the approach to localize an application provided in the documentation doesn't work.
When adding the localized .resx files as described in the documentation - with BuildAction set to None - the resource strings cannot be obtained and even the default string values are lost. This effect can be mitigated with changing the BuildAction to EmbeddedResource.
When rendering a Report in PDF with Skia Sharp, the Arial Bold Italic font is rendered as Normal. Arial Bold and Arial Italic fonts are rendered correctly.
When rendering with GDI+ all fonts are displayed correctly.
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.
In the Desktop Report Designers, you may display the Text of the Tooltips on several lines by adding new lines (\n) inside the text.
In the HTML5 Viewrs, the new lines are ignored and the text is displayed on a single line. You may work around this by replacing the new lines with <br /> elements. It would be much easier for the users if this is done in the code of the viewer instead.
The Export dropdown menu looks like the following image when using Kendo UI 2023.2.606+
The fix to the bug TOC page numbers and total PageCount are incorrect in some scenarios provided in R2 2023 may have led to another bug, as when I render my report with TOC the total page count is not correct in PrintPreview, although the page number is correct.
For example, on the last page, I see page 126 out of 123.
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
When a report that has no significant content is added to a report book, an invalid entry inside the report book's ToC is added. The page number shown is zero and trying to navigate to the page throws an error "Resource with name ... not found."
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?)