Notification with several lines

Hello,

With the "Notification" component, I'd like have several lines in the details section to display error message coming from my backend Is there a way to do this ? the lines one under the other and why not with a bullet.

Thanks,

Hi @Kris-I,

You can use HTML tags in the Detail and Summary of the notification. Add <br> to create new lines or <ul><li>item 1</li><li>item 2</li></ul>

But I expected something out of the box but it's a good workaround.

Thanks,

@korchev Hi, great controls! I would like to report that the latest release (6.4.1) seems to break support for HTML tags in NotificationMessage. I can see the HTML tags rendered in my message. Can you confirm?

Yes, we have removed support for passing HTML as a string. You should use this approach instead:

 NotificationService.Notify(new NotificationMessage
        {
                SummaryContent = ns =>@<RadzenText TextStyle="TextStyle.H6">Custom summary: <br /> @DateTime.Now</RadzenText>,
                DetailContent = ns => @<RadzenButton Text="Clear" Click="@(args => ns.Messages.Clear())" />
        });

I appreciate your fast response. Thank you very much for your help.