We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Could not find 'sfBlazor.Tooltip.contentUpdated'

I've updated the SyncFusion packages in an existing Blazor project project from version to version Now when running the project an exception is thrown which says:

23/11/2022 21:22:54.632 WRN [10 .NET ThreadPool Worker] Unhandled exception rendering component: Could not find 'sfBlazor.Tooltip.contentUpdated' ('sfBlazor' was undefined).

I've traced the cause to the following two lines in a Component:

<SfTooltip ID="LastContactTip" CssClass="common_tooltip" Target="#LastContact" Content="@tooltipContent" Position=Position.TopCenter OpensOn="Auto" OnOpen="onTooltipOpen"  />
<SfTooltip ID="TreatmentTip" CssClass="common_tooltip" Target="#btnTreatment" Content="Treatment played" Position=Position.TopCenter OpensOn="Auto" @ref="@treatmentTip" />

If I comment the above two lines out the application runs OK. If either of the two lines is present, the exception occurs.

I've checked the Release notes for any breaking Common or Tooltip changes but can't find any.

Can you give me some guidance as to what changes has been introduced between versions and that maybe causing this exception please? Thanks

The full stack trace of the exception is shown below.

Microsoft.JSInterop.JSException: Could not find 'sfBlazor.Tooltip.contentUpdated' ('sfBlazor' was undefined).


at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
at Syncfusion.Blazor.Popups.SfTooltip.UpdatedTooltipContent()
at Syncfusion.Blazor.Popups.SfTooltip.OnAfterRenderAsync(Boolean firstRender)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

2 Replies

SA SureshRajan Alagarsamy Syncfusion Team December 5, 2022 07:25 AM

Hi Lallan,

We have validated your reported query from our end by preparing a Tooltip sample, and we are able to replicate the issue and consider it a bug at our end. The fix for this issue will be included in our patch release at the end of December 2022.

Feedback Link : https://www.syncfusion.com/feedback/39591/need-to-clear-the-console-error-that-occurs-in-the-blazor-tooltip-component-during

Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.


PE Peter replied to SureshRajan Alagarsamy December 6, 2022 07:25 PM


Thanks for your interest in the issue I've discovered and confirming it's a bug.  Would you mind updating this forum post when the fix is released.  Thanks.


Live Chat Icon For mobile
Up arrow icon