This is a migrated thread and some comments may be shown as answers.

Image Editor: get image name and the extension

1 Answer 239 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Senura D
Top achievements
Rank 1
Senura D asked on 24 Sep 2020, 10:23 AM

Is there a way to get the image name and image extension from the KendoUI Image Editor in imageRendered event?

I have tried to find the image name and the image extension from the event data (image instance). But could not find a property which has that.

E.g. I expected it to have something like e.image.extension and e.image.type etc.

 

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 28 Sep 2020, 11:33 AM

Hello Senura,

At this point the only way to get the file and the extension is through the ImageEditor's inner Upload component. Please refer to this Dojo example for reference. I am also opening a new feature request in our Feedback Portal for an event that triggers when a file is selected from the Open command, so that the user will be able to get the name and the extension.

I hope I was helpful. Let me know if you have any questions.

Regards,
Martin
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

Tags
General Discussions
Asked by
Senura D
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or