We have a JSON dataset (attached) where one of the nodes is a list of products. We are displaying these products in a table in the detail section. This table has the corresponding ProductList Datasource and has 3 columns: "UP", "Total", "Net UP". We obtain the "UP" and "Total" directly from the DataSource (Fields.[@UP], Fields.[@Total]). To obtain the "Net UP" we need to check all Discounts nodes in the same line that [@Type]= "Comercial" , take the [@Rate] and multiply it with the Fields.[@UP] of that line.
We are trying to do this inserting a table to which we have bound its DataSource to the Fields.Discounts.Discount field in the "Net UP" column. With this we can obtain the [@Rate] of the discount but the problem here is that we can not address the Fields.[@UP] because it is in another context.
Do you have any idea how we can achieve that?
Im getting an "Error creating report document" error when trying to load the report on the published site.. it works just perfectly in local.
i would like to know what should i do in order to get this issue solved.
thanks in advance.
Hi,
I am using ASP.NET WEB API ( not .Net Core ) and I try to integrate Web report designer into my ReactJs front-end
Telerik.Reporting version 17.1.23.718
I am using this Configuration
ReportDesignerServiceConfiguration designerConfigurationInstance = new ReportDesignerServiceConfiguration
{
DefinitionStorage = new FileDefinitionStorage(reportsPath),
SettingsStorage = fs,
SharedDataSourceStorage = new FileSharedDataSourceStorage(reportsSharedDSPath),
};
It all works when I try to create a Shared Data Source and for the first time I want to bind it to a Wizard Table but when I go to Preview it shows me an error
An error has occurred while processing Table 'table1': Cannot instantiate the referenced DataSource. Value cannot be null.Parameter name: The path to the SharedDataSource asset was null or empty.
And If I save the same report and try to reopen, it doesn't recognize the shared data source and gives me this error:
Unable to retrieve the referenced Shared Data Source for 'sDS_Test1'.
But the shared data source exists and it is in the same place, if I try to manually add it again it will work and recognize it, but again the preview won't work.
Perhaps I have to use a CustomSharedDataSourceResolver ?
CustomSharedDataSourceResolver : Data.ISharedDataSourceResolver
If yes how do I integrate it in my ASP NET project cause I don't have the appsettings.json file to add the section:
I have to use Web.config but I don't understand how to integrate it, I cannot find any documentation for ASP.NET WEB API.
"telerikReporting": { "processing": { "resourceResolver": { // The element below represents an implementation of a Resource resolver that uses a path provider: //"provider": "path", //"parameters": [ // { // "name": "directory", // "value": "c:\\CommonResources\\" // } //], // The element below represents an implementation of a Resource resolver that uses a custom type provider: "provider": "custom", "parameters": [ { "name": "typeName", "value": "SqlDefinitionStorageExample.CustomResourceResolver, SqlDefinitionStorageExample" } ] }, "sharedDataSourceResolver": { // The element below represents an implementation of a SharedDataSource resolver that uses a path provider: //"provider": "path", //"parameters": [ // { // "name": "directory", // "value": "c:\\CommonSharedDataSources\\" // } //], // The element below represents an implementation of a SharedDataSource resolver that uses a custom type provider: "provider": "custom", "parameters": [ { "name": "typename", "value": "SqlDefinitionStorageExample.CustomSharedDataSourceResolver, SqlDefinitionStorageExample" } ] } } }
This may be a dumb question, I apologize in advance.
I was tasked with updating and existing Rest service from .net 4.6.1 to .net 8.
I was going to just create a new one using your template, but it only supports up to .net 4.8.
What am I missing here?
Thank you!
Joe
Hi,
I'm using a trial version of Telerik reporting.
I designed a trdp project file and I included it in my application.
The data source is a json string that I change at runtime.
I tried to export on pdf and I get no error from the call to RenderReport, but saving the bytes of RenderingResult.DocumentBytes on a pdf file I get a unreadeable file, it is a real pdf file (I see it on hexadecimal editor) but very short.
I tried to export on csv, html, and rtf and I get a valid and good file.
Could be a trial limitation?
Thank you
Luigi
I have a telerik report that has grouping sections based on a "Page Title"
The first page title is my Cover Page, which just contains a multi-line textbox that has its visibility set to TRUE only if the current group is the cover page
I want the textbox to be automatically centered in the page on rendering of the report without having calculate 11in-(header+footer+margins) and physically set the height of the textbox. Is this possible?
Sample attached
Hello Community,
On the Native Blazor Report Viewer Overview page, it is written that the current release of the Native Blazor Report Viewer component is missing the Event Binding functionality. We have software depending on events, specifically ClientEvents. Therefore, we haven't upgraded from the Blazor Report Viewer.
In Blazor Report Viewer we were able use ClientEvents to trigger javascript / typescript:
<ReportViewer @ref="reportViewer"
ViewerId="rv"
ServiceUrl="/api/reports"
ReportSource="@ReportSourceOptions()"
ClientEvents="@(new ClientEventsOptions()
{
RenderingEnd = "reportViewerRenderingEnd" // JS Function
})"
/>
Compare between non-delete and delete two textbox, just have value difference.
------------original report code
<TextBox Width="1in" Height="0.7cm" Left="0cm" Top="0cm" Value="=AVG(Fields.Actual_downtime_50_last)/AVG(Fields.Actual_runtime_50_last)" Format="{0:P0}" Name="textBox36" StyleName="">
<TextBox Width="1in" Height="0.609cm" Left="0cm" Top="0cm" Value="=(Fields.Actual_downtime_50_last)/
(Fields.Actual_runtime_50_last)" Format="{0:P0}" Name="textBox37" StyleName="">
-----------after deleting value
<TextBox Width="1in" Height="0.7cm" Left="0cm" Top="0cm" Format="{0:P0}" Name="textBox36" StyleName="">
<TextBox Width="1in" Height="0.7cm" Left="0cm" Top="0cm" Format="{0:P0}" Name="textBox36" StyleName="">
-----------------------------------
I want to know how to fix this, because the final value isn't long
In my PageHeader I can use the PageNumber function to display the
PageNumber grouped by any staff like "= PageNumber('headerGroup',
Fields.MyField)".
But when I try to use this Expression to Bind the
Height of the PageHeaderSection, I got Null with the above Expression
insteat of the expected PageNumber.
The Binding Code is like that:
Bindings.Add(new Binding("Height", "= IIF(PageNumber('headerGroup', Fields.MyField) = 1, '10cm', '4cm')"));
What am I doing wrong?
A Binding like
Bindings.Add(new Binding("Height", "= IIF(PageNumber = 1, '10cm', '4cm')"));
works well.
Thanks for your support.