- Home
- Forum
- Angular - EJ 2
- Error when loading image in data from ASP.NET Core
Error when loading image in data from ASP.NET Core
Hi Syncfusion Team,
I have an issue with the image in the data which I get from BE (I use ASP.NET Core).
BE codes:
In the FE sides: I get the data and use the open() method to open the document by DocumentEditor.
Everything works perfectly, except the image.
I opened the network tab and I got this:
I figured out that the images is stored in the images array.
If i remove that image and post a new image by clicking the Images option in the toolbar, then I close the documentEditor; and when I re-open it, that error is disappeared.
Note that when I close the documentEditor, I send a post request to BE to save the content.
FE codes:
BE codes:
In this case, when I opened the network tab, I got this:
I think maybe if the image data is returned like this, the error will not be appeared.
So, How can I fix this error?
Please inform to me if you have any question.
Regrads,
Nguyen.
Hi,
In response to your inquiry, we attempted to recreate the problem using the attached sample in the latest version. However, we were unable to replicate the issue as the image is displaying correctly. Please review the sample and if there are any modifications you would like us to make in order to recreate the problem, please make those changes and send us the modified sample.
Regards,
Gayathri Swetha
Attachment: Asp.NetCoreClient_70ce5859.zip
Hi,
Thanks for your support. My issue is solved in the latest version of ej2-angular-documenteditor.
Regards,
Nguyen
Thanks for the update!
- 3 Replies
- 2 Participants
-
NH nguyen hoang phuong
- Dec 8, 2023 04:46 PM UTC
- Dec 14, 2023 03:53 AM UTC