Display Notification count in profile or menu

Hello Team,
I would like to display user notification count in my application as a profile badge similar to this

Kindly guide how to proceed.

Thanks !

It seems that you would need a notification count variable in your layout, bound to the Badge's Text property.

In your layout .razor file:

<RadzenBadge BadgeStyle="BadgeStyle.Info" IsPill="true" Text=@(NotificationCount) />

    private int NotificationCount { get; set; }
1 Like

Thanks a lot for your valuable guidance :slight_smile: