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.
Hi,
I've created the REST reporting service and that is running. I'm trying to add Web Report Designer to Blazor WASM project but running into errors I can't solve.
https://docs.telerik.com/reporting/designing-reports/report-designer-tools/web-report-designer/how-to-set-up-in-blazor-application#adding-the-blazor-web-report-designer-component
Is there a demo Blazor WASM project that implements the Web Report Designer?
Thanks
Rob
Hi All,
I am using the telerik reporting trial version in blazor. On the development machine everything works fine and report display.
But when i deploy to iis for testing, the report does not show.
Attached is an error from the console.
Kindly help.
Thank you