Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

0
Votes

Hello Support Team,

in our scenario it is imperative for the backend to decide on filename and sub-directory where to upload image files to. The resulting path/url needs to be available to the client after upload.

Following your knowledge base article

How to Achieve File Name for Uploaded Image in Blazor RichTextEditor? we created the sample attached to this report.

The backend method adds a new header "name" to the response containing the new filename as proposed in your article (see FileController.cs). Using developer tools we can confirm that this header is transmitted back to the client.

However, this header is not contained in the ImageSuccessEventArgs' property Response.Headers (see Home.razor).

Is this still the recommended method to allow server side manipulation on resulting image locations and thus the observed behavior considered a bug? Otherwise, we would like to learn about how to achieve our goal.

Best regards,
Nico