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

Hi to all,
I have an ASP .Net API ( NOT .NET Core ) web app and I want to connect to my database in web report designer through SQL Data Source in Report interface. My UI is ReactJS.
It works everything, I can save/load reports but I cannot add a valid SQL Data Source.
When I click SQL Data Source it gives me an error:
Error
I tried to add a connection string in my Web.Config file
But it doesn't work.
My code is
public class ReportDesignerController : ReportDesignerControllerBase
{
static ReportServiceConfiguration configurationInstance;
static ReportDesignerServiceConfiguration designerConfigurationInstance;
static ReportDesignerController()
{
//This is the folder that contains the report definitions
//In this case this is the Reports folder
var appPath = HttpContext.Current.Server.MapPath("~/");
var reportsPath = Path.Combine(appPath, "Reports");
//Add report source resolver for trdx/trdp report definitions,
//then add resolver for class report definitions as fallback resolver;
//finally create the resolver and use it in the ReportServiceConfiguration instance.
var resolver = new UriReportSourceResolver(reportsPath);
//Setup the ReportServiceConfiguration
configurationInstance = new ReportServiceConfiguration
{
HostAppId = "Html5App",
Storage = new FileStorage(),
ReportSourceResolver = resolver,
ReportSharingTimeout = 1000,
ClientSessionTimeout = 20,
};
designerConfigurationInstance = new ReportDesignerServiceConfiguration
{
DefinitionStorage = new FileDefinitionStorage(reportsPath),
SettingsStorage = new FileSettingsStorage(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Telerik Reporting"))
};
}
public ReportDesignerController()
{
//Initialize the service configuration
this.ReportServiceConfiguration = configurationInstance;
this.ReportDesignerServiceConfiguration = designerConfigurationInstance;
}
}

I have a report designed for a continuous roll printer using a 4 inch wide paper roll. The report is 6 inches "wide", but is printed LANDSCAPE, so the axis are flipped, meaning the printed "width" ends up as 4 inches (good) and the printed "height" is 6 inches on the continuous axis. So far so good, Telerik renders the report and it prints, HOWEVER; I want a page footer section that prints some information at the "bottom" of the label. When in continuous roll mode Telerik is not honoring the page footer and instead prints this immediately after the detail like a group footer, however; there is no reason why it should not honor this because the report is LANDSCAPE so even on continuous roll paper the footer can be measured against the fixed 4in "width" of the label. I have attached an image showing what Telerik is doing and what the expected output is.
This appears to me to be a bug in Telerik reporting.
The expected behavior is that the page footer would work normally if the report is landscape because in this case the fixed label width is actually the "height" (4in) of the report and the variable/continuous axis is the "width" (6in).
Any suggestions?
- Albert Boettger
When we try to process a report from a .NET 6 application, there is an exception
"BinaryFormatter serialization and deserialization are disabled within this application. See https://aka.ms/binaryformatter for more information."
Version used: Telerik R1 2023 SP1
On Telerik forums, there is a workaround to suppress this error, see below:
https://www.telerik.com/forums/aspnetcore-5-support
https://docs.telerik.com/reporting/knowledge-base/binaryformatter-exception-after-upgrade-to-net5
However, based on this post the BinaryFormatter is necessary for serialization and not having it will cause issues with image generation.
Please advise if there is a way to generate reports with images from a .NET 6 app without using EnableUnsafeBinaryFormatterSerialization.
Hi,
https://www.telerik.com/blogs/telerik-reporting-modern-ui-report-viewer-demo
I have followed the steps in this example and created a Reporting rest service and added the report viewer to my Blazor app. The rest service is running and I can display a report in the viewer.
I'm struggling though to retrieve the list of reports for the drop down list. Should the rest service provide a list of files available from the endpoint "files" ?
ReportList = await HttpClient.GetFromJsonAsync<List<string>>("/api/files");
I'm currenly get a 404 error in the on intialazied method.
Thanks
Rob
