Get File Info

2 posts, 0 answers
  1. Andrey
    Andrey avatar
    18 posts
    Member since:
    Jun 2012

    Posted 12 Sep 2011 Link to this post

    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
  2. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 15 Sep 2011 Link to this post

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

  3. DevCraft banner
Back to Top