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 !
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) />
@code
{
private int NotificationCount { get; set; }
}
Thanks a lot for your valuable guidance