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

Get File Info

1 Answer 71 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Andrey
Top achievements
Rank 1
Andrey asked on 12 Sep 2011, 08:24 PM
Is there a way to get the image file info in RadImageEditor?

I need the file name of the image that the user opened.

Thank you,
Andrey

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 15 Sep 2011, 03:53 PM
Hi Andrey,

The image editor does not keep information of the file name that has been imported.
However, since the only way to load images through the UI is using the OpenImageCommand, you can implement your OpenImageCommand, similar to the default one, which keeps track of the name of the file that is being opened. You can change the template of the editor to use your command instead of the default one.
This approach has been described in detail about the save command of the image editor in this forum post.

All the best,
Iva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
ImageEditor
Asked by
Andrey
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or