Currently, to customize the report engine, for example to add some custom user functions, we have to either use the app config or provide a IConfiguration to ReportProcessor constructor, which seems to set a static field for all reports, and on top of that we have to provide a whole assembly (which will load ALL non-private static methods, I did try to use typereferences instead of assemblyReferences, but that doesn't seem to work for custom functions).
Meanwhile all we needed was to expose a handful of functions. Our current workaround is to have a whole assembly dedicated to that.
It'd good to be able to:
- Specify either a single class or individual methods through the library API (e.g. reportProcessor.AddCustomFunction("name", (arg) => ...); or reportProcessor.AddCustomFunctions(typeof(MyCustomFunctions);)
- Avoid using static state (it limits how the library can be used and, more importantly, tested)
- Maybe have a way to provide a Service Provider, that Telerik library would use to create services/classes and pull IConfiguration from, especially those we provide, that way the custom functions could use services from our application, rather than using all static methods.
Thank you,
When there is rotated text (270 degrees) in the Crosstab header, the FreezeColumnHeaders and FreezeRowHeaders don't work as expected.
Resetting the angle to the default (0 degrees) fixes the problem.
When the report rendering is manually stopped through the Report Viewer, the Release Document request is made, however, it does not wait for the report rendering to be fully canceled, instead, it only sets a flag that it should stop.
The report engine checks for the flag periodically and eventually stops the report rendering, throwing an OperationCanceledException. I need to be able to catch this exception so that I can dispose of the document resources as soon as possible.
Currently, when you design a report with SqlDataSource, ObjectDataSource, etc. you need to have access to the corresponding database, assemblies, etc. to see the fields and use the drag-and-drop functionality of the report designers.
The requirement is to embed the corresponding schema in the report or designer to let the report creator access the data source fields even without these external resources.
As an example, in the WebServiceDataSource the report creator may use inline JSON rather than connecting to the Web Service. This saves time and resources required for establishing the connection that is in fact not necessary for design purposes.
We faced the following issue when previewing a big enough report. Here are the steps to reproduce the bug:
1) after the report gets loaded, press the Preview button from the Parameters area.
2) as soon as the report starts loading, the class="trv-loading" is added to the Parameters area. While still report loading is in progress, press the "Stop Rendering" button.
3) When the message Report processing was canceled. is displayed, the Parameters area remains inactive. This happens because its class="trv-loading" is not removed as it is expected.
Currently(version 18.2.24.924), it is not possible to use bindings or conditional formatting on the styling of the radial gauge ranges.
I need to be able to change their styles, such as the color, based on my data.
I am displaying SVG images using a PictureBox, but all the SVGs appear in the same color rather than their original colors when viewing the report through the HTML5-based Report Viewers in the browser.
To verify, I checked the report directly in Telerik Report Designer, where the colors display correctly.
When exporting the report as a PDF from the same report viewer, the SVG images retain their original colors in the exported PDF.
My SVG images have embedded style classes. Some of the class names are the same although the styles may differ.
Hi, in the wpf report viewer, the date picker in the parameter's zone don't have a "Today's date button". The standalone report designer have the "Today's date button".
Date picker of the report designer :
Date picker of the wpf report viewer :
Is it possible please to add the "Today's date button" for date pickers in the wpf report viewer?
Thanks a lot!
The ReportsControllerBase is returning a JSON payload of { "InstanceId": "xxxx" } instead of { "instanceId": "xxxx" } that the Html5 ReportViewer is expecting. I believe the CreateInstance method should be using CreateJsonResponse instead of CreateResponse. I overrode the ReportsControllerBase.CreateInstance like the following to get it working again:
response = base.CreateInstance(clientId, reportSource);
// This is to work around a bug in telerik reporting.
BusinessLogicResponse v = BusinessLogicResponse.CreateInstance(HttpStatusCode.Created, ((ObjectResult)response).Value);
response = base.CreateJsonResponse(v);
I have overridden the SendMailMessage method of the ReportsController to implement the email-sending functionality of the web report viewers.
However, despite the method being implemented in my controller, inheriting from the ReportsControllerBase class, the method is never hit, and instead, I get a 501 Not Implemented response.
I use as background color of a TextBox light green (128,255,128). It appears as expected in all renderings except XLS (old Excel 97-2003). In XLS the color is grey (128,128,128).
I observe the same issue when modifying the RGB numbers in some boundaries - the color in XLS is always grey. There are RGB values rendered as expected though.
The issue reproduces with TRDP and CS reports in the corresponding Report Designers.
My connection string contains spaces:
Data Source=(local)\SQLEXPRESS;Initial Catalog=AdventureWorks;Integrated Security=SSPI
When I use the functionality 'Build new data connection', the designer throws the following exception:
Inside telerik designer for reports actually if you wish to use an RGBA color, you would need to manually write it.
And generally color choise / picking its a little old style.
-> Would be nice to modernize the UI for color management and implement a COLOR PICKER.
The report parameters selection options cannot be navigated through by the keyboard.
The select all and clear selection options can be accessed through the TAB but individual values are not focusable.
The DateTime picker of the DateTime parameters cannot be opened with the keyboard as well.
For example, if I set the accent color to be "Navy blue", the quick access toolbar's icons will be pretty much invisible:

1. The design-time preview of the HtmlTextBox throws the "Name cannot begin with the '>' character..." error when the not equal (<>) operator is used in the value expression as it incorrectly tries to parse the operator as HTML markup. The standalone designer does not have a design-time preview for the HtmlTextBox and the issue is not present there.
This does not affect the actual preview of the report and can be worked around by negating the equal (=) operator using the Not operator instead.
2. The design-time preview of the PictureBox throws a null reference exception when it has a binding that changes its value based on one of the fields from the data source. The preview incorrectly tries to respect this binding which will not work in design time as the data is not fetched at this point. Instead, the design-time preview should use the default value from the Value property of the PictureBox, which is what the standalone designer does.
This does not affect the actual report preview.
3. The design-time preview of an HtmlTextBox located in a data item throws a null reference exception when it has a conditional formatting rule that changes the appearance of the HtmlTextBox based on the RowNumber data function. Again, this function cannot be executed successfully during design time as the data is not available yet.
Since this issue is also related to the preview during design time, it does not affect the actual report preview either.
The Telerik Reporting REST Service storage is automatically cleaned based on some configurable timeouts and hardcoded times. It requires an awaken service to be performed.
It would be very useful for the developer to be able to invoke manually the storage cleaning functionality either with code or through the service Web API.