Kendo Editor ImageBrowser - undefined instead of names in the file list

1 Answer 275 Views
Editor
sem
Top achievements
Rank 2
sem asked on 15 Oct 2021, 09:23 AM

Hi,

I am trying to integrate kendoEditor into my application. Everything works correctly, even the upload mechanism. The Read action works correctly and returns the list of files and folders, but in the file display the name is incorrect as well as the path. Only "undefined" is displayed under each icon. The wrong icon is also displayed, a clear sign that the JSON returned by the Read does not reach its "destination" correctly.

I have created a project to test how the editor works out of the context of my application, but I still have this problem. I have attached the project to this post, along with an image showing the error message.

Thanks!

Sebastiano

1 Answer, 1 is accepted

Sort by
1
Accepted
Aleksandar
Telerik team
answered on 20 Oct 2021, 05:42 AM

Hi Sem,

The fact that you get the names rendered as undefined means the remote endpoint is actually returning data, but the component fails to bind to it. Upon inspecting the test application I see that the response is serialized in camelCase, but not in PascalCase. That said I can suggest either of the following options to resolve the issue:

I hope this helps.

Regards,
Aleksandar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

sem
Top achievements
Rank 2
commented on 21 Oct 2021, 04:09 AM

Hi Aleksandar,

Thanks. Your solution solved my problem perfectly.

Best Regards
Sebastiano

Tags
Editor
Asked by
sem
Top achievements
Rank 2
Answers by
Aleksandar
Telerik team
Share this question
or