UpLoad file with Html Radzen

Hi,

I've implemented the Html Radzen in my app.

The image is not uploaded when I valide the modal popup. I've to cancel.

<RadzenHtmlEditor @bind-Value=@dev.Description style="height: 200px; margin-bottom: 1rem;" UploadUrl="upload/image" />

Did I forget anything?

Check if you have implemented the upload as per the documentation. Also check the network tab of your browser to trace the network request to the upload endpoint.

Hi, thanks to documentation. I didn't see it!

So, i've implemented the UpLoad controller following your documentation.
I don't understand why WebRootPath = null

If I do understand the definition of The web root path is the absolute path to the directory that contains the web-servable application content files. So wwwroot repository, right?

My application is blazor wasm .net core6

image

image

Thanks to the link.
I surprised that I've to create repository wwwroot in app.server wheras I've already wwwroot in my app.client.
Now It's ok the file is uploaded in app.server.wwwroot

Last Question : is it possible to download the xls or pdf file via RadzenHtmlEditor as an attachment file?

Those are two different applications. The server is what performs the upload so it needs its own wwwroot directory.

RadzenHtmlEditor cannot download files.