# HTML Editor image upload doesn't open

**URL:** <https://forum.radzen.com/t/html-editor-image-upload-doesnt-open/5815>\
**Category:** Radzen.Blazor Components\
**Created:** [November 27, 2020, 3:43am UTC](https://forum.radzen.com/t/html-editor-image-upload-doesnt-open/5815 "2020-11-27T03:43:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wowfood](https://forum.radzen.com/letter_avatar_proxy/v4/letter/w/e19b73/32.png) [@wowfood](https://forum.radzen.com/u/wowfood)\
**Post date:** [November 27, 2020, 3:43am UTC](https://forum.radzen.com/t/html-editor-image-upload-doesnt-open/5815/1 "2020-11-27T03:43:21Z")

</div>

I'm sure I'm just missing something simple here.

I've updated to the latest nuget package for Radzen Blazor components, and I'm attempting to add the HTMLEditor to my page.

Most of it works, however clicking on the image upload button, nothing happens. The expected dialog box doesn't appear, i'm getting nothing appear in my output window, i'm not seeing any events in the developer console of my browser.

I'm sure I must have just missed something, but I have no idea what. Any hints would be appreciated.

---edit---

continued playing, still no progress, but the same issue appears to happen with the add hyperlink button. at a guess it's something to do with the dialog service, but I've got

```
services.AddScoped<DialogService>();
services.AddScoped<NotificationService>();

```

in my startup file,

---edit---

Figured it out eventually.

had to add

```
@using Radzen.Blazor
<RadzenDialog /> 
<RadzenNotification />

```

to my mainlayout. This isn't mentioned anywhere in the documentation, so may need adding there at some point.

---

<div class="post-metadata">

**Author:** ![wowfood](https://forum.radzen.com/letter_avatar_proxy/v4/letter/w/e19b73/32.png) [@wowfood](https://forum.radzen.com/u/wowfood)\
**Post date:** [November 27, 2020, 4:22am UTC](https://forum.radzen.com/t/html-editor-image-upload-doesnt-open/5815/2 "2020-11-27T04:22:55Z")

</div>

I know I should probably put a new topic up for these follow up questions but since I answered this one myself may as well ask here.

What's the best readonly panel for viewing the content in a rich text box. (imagine I'm making a blog or something similar.) is there anything Radzen provides like an html parser for this kind of thing?

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [November 27, 2020, 5:50am UTC](https://forum.radzen.com/t/html-editor-image-upload-doesnt-open/5815/3 "2020-11-27T05:50:29Z")

</div>

> [@wowfood](#):
>
> This isn't mentioned anywhere in the documentation, so may need adding there at some point.

It is in the [getting started instructions](https://blazor.radzen.com/get-started).

> [@wowfood](#):
>
> What's the best readonly panel for viewing the content in a rich text box.

The best readonly panel is the `<div>` HTML element. Just show your content there.

```auto
<div>
@((MarkupString)myPropertyThatContainsHtml)
</div>

```

> [@wowfood](#):
>
> Is there anything Radzen provides like an html parser for this kind of thing?

Radzen does not provide an HTML parser but I don't think it is needed to display HTML.
