RadzenHtml component


I see there are two HTML components

  1. RadzenHtml
  2. RadzenHtmlEditor

I would like to render a string which includes HTML tags in it. Which component should I use to do that without allowing the user to edit the text itself?

I tried using the RadzenHtml component but it did not render the text and when I look at the component itself I did not see anything that would do the rendering.

The Editor component worked but I felt that I was misusing it if I did not want the user to be able to edit the text.


Hi Everyone,

After some more investigation, I found that you can use the MarkupString class, which is native to blazor, to accomplish what I was trying to do.