Hello
I have a dynamically loaded textboxcontrol to which I attach an image from a file as background image.
At some point I need to remove the textboxcontrol from the RadPanel into which it has been added and I need to delete the image file used as background image
The File.delete(imagefilename) generates an error telling the it cannot delete the file because it is in use by another process.
I have tried to set the backgroundimage to nothing before the file delete but it does not help
Does anyone know how can I release the file ?
Thanks in advance
Pierre-Jean