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
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 >>