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

Trying to delete directory containing an image being displayed in carousel

3 Answers 74 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 20 Jan 2011, 09:47 PM
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? 

3 Answers, 1 is accepted

Sort by
0
Scott
Top achievements
Rank 1
answered on 21 Jan 2011, 09:49 PM
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.
0
Accepted
Maya
Telerik team
answered on 26 Jan 2011, 01:22 PM
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>>
0
Scott
Top achievements
Rank 1
answered on 14 Feb 2011, 04:36 PM
Maya,
Thank you for your help. I believe I have a working solution now.
Tags
Carousel
Asked by
Scott
Top achievements
Rank 1
Answers by
Scott
Top achievements
Rank 1
Maya
Telerik team
Share this question
or