When building the application in Release configuration and navigating to the page containing the ReportViewer component, the following error is thrown:
“Telerik.Blazor.Components.TelerikWindow does not have a property matching the name ‘Centered’.”
at Microsoft.AspNetCore.Components.Reflection.ComponentProperties.ThrowForUnknownIncomingParameterName(Type targetType, String parameterName) at Microsoft.AspNetCore.Components.Reflection.ComponentProperties.SetProperties(ParameterView& parameters, Object target) at Microsoft.AspNetCore.Components.ParameterView.SetParameterProperties(Object target) at Microsoft.AspNetCore.Components.ComponentBase.SetParametersAsync(ParameterView parameters) at Telerik.Blazor.Components.TelerikWindow.SetParametersAsync(ParameterView parameters) at Microsoft.AspNetCore.Components.Rendering.ComponentState.SupplyCombinedParameters(ParameterView directAndCascadingParameters)
This problem does not occur in Debug mode and was not present in earlier builds. The affected page uses both the ReportViewer component and the SendEmailDialogSettings. For reference, the project is targeting .NET 8.0 and depends on:
• Telerik.UI.for.Blazor (v9.1.0)
• Telerik.ReportViewer.BlazorNative (v19.1.25.521)
The page:
<TelerikTabStrip TabPosition="TabPosition.Top" TabAlignment="TabStripTabAlignment.Start">
<TabStripTab Title="Sink">
<ReportViewer ServiceType="@ReportViewerServiceType.REST"
ServiceUrl="@ReportServerUrl"
@bind-ReportSource="@ReportSourceOrganisations"
@bind-ScaleMode="@ScaleMode"
@bind-ViewMode="@ViewMode"
@bind-ParametersAreaVisible="@ParametersAreaVisible"
@bind-DocumentMapVisible="@DocumentMapVisible"
@bind-Scale="@Scale"
PageMode="@PageMode.ContinuousScroll"
PrintMode="@PrintMode.AutoSelect"
KeepClientAlive="true"
EnableSendEmail="true"
Height="900px"
Width="100%">
<ReportViewerSettings>
<SendEmailDialogSettings
From="@From"
To="@Emails"
Cc="@CarbonCopyEmail"
Subject="@Subject"
Format="XLSX"
Body="<br/> <br/> Best regards, </br>">
</SendEmailDialogSettings>
</ReportViewerSettings>
</ReportViewer>
</TabStripTab>
</TelerikTabStrip>
“Telerik.Blazor.Components.TelerikWindow does not have a property matching the name ‘Centered’.”
at Microsoft.AspNetCore.Components.Reflection.ComponentProperties.ThrowForUnknownIncomingParameterName(Type targetType, String parameterName) at Microsoft.AspNetCore.Components.Reflection.ComponentProperties.SetProperties(ParameterView& parameters, Object target) at Microsoft.AspNetCore.Components.ParameterView.SetParameterProperties(Object target) at Microsoft.AspNetCore.Components.ComponentBase.SetParametersAsync(ParameterView parameters) at Telerik.Blazor.Components.TelerikWindow.SetParametersAsync(ParameterView parameters) at Microsoft.AspNetCore.Components.Rendering.ComponentState.SupplyCombinedParameters(ParameterView directAndCascadingParameters)
This problem does not occur in Debug mode and was not present in earlier builds. The affected page uses both the ReportViewer component and the SendEmailDialogSettings. For reference, the project is targeting .NET 8.0 and depends on:
• Telerik.UI.for.Blazor (v9.1.0)
• Telerik.ReportViewer.BlazorNative (v19.1.25.521)
The page:
<TelerikTabStrip TabPosition="TabPosition.Top" TabAlignment="TabStripTabAlignment.Start">
<TabStripTab Title="Sink">
<ReportViewer ServiceType="@ReportViewerServiceType.REST"
ServiceUrl="@ReportServerUrl"
@bind-ReportSource="@ReportSourceOrganisations"
@bind-ScaleMode="@ScaleMode"
@bind-ViewMode="@ViewMode"
@bind-ParametersAreaVisible="@ParametersAreaVisible"
@bind-DocumentMapVisible="@DocumentMapVisible"
@bind-Scale="@Scale"
PageMode="@PageMode.ContinuousScroll"
PrintMode="@PrintMode.AutoSelect"
KeepClientAlive="true"
EnableSendEmail="true"
Height="900px"
Width="100%">
<ReportViewerSettings>
<SendEmailDialogSettings
From="@From"
To="@Emails"
Cc="@CarbonCopyEmail"
Subject="@Subject"
Format="XLSX"
Body="<br/> <br/> Best regards, </br>">
</SendEmailDialogSettings>
</ReportViewerSettings>
</ReportViewer>
</TabStripTab>
</TelerikTabStrip>