Trying to delete directory containing an image being displayed in carousel

4 posts, 1 answers
  1. Scott
    Scott avatar
    42 posts
    Member since:
    Oct 2007

    Posted 20 Jan 2011 Link to this post

    Hello,
    I have added a delete button to the to each item in my Carousel. When the user clicks this button, I am trying to delete a directory on the file system that contains the preview image that is being displayed in the carousel. Without surprise, I am getting an IOException saying "The process cannot access the file 'preview.png' because it is being used by another process.". Do you have any ideas or suggestions to make the RadCarousel release the lock on this .png in the directory? 
  2. Scott
    Scott avatar
    42 posts
    Member since:
    Oct 2007

    Posted 21 Jan 2011 Link to this post

    To clarify, I have tried to set a different image source for the image being displayed in the carousel, hoping the carousel would release the lock on this image, but still an unable to delete the folder containing the preview image.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Answer
    Maya
    Admin
    Maya avatar
    4062 posts

    Posted 26 Jan 2011 Link to this post

    Hello Scott,

    May you take a look at this and this forum threads for a reference ? Please let me know if the provided solutions resolve your issue or you need any further assistance.

    Greetings,
    Maya
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  5. Scott
    Scott avatar
    42 posts
    Member since:
    Oct 2007

    Posted 14 Feb 2011 Link to this post

    Maya,
    Thank you for your help. I believe I have a working solution now.
Back to Top