I know this is something simple but i am trying to delete the associated images on records that are deleted from a Rad gridview auto delete link. I have images (up to 15) associated with each record in an images table. When i delete the record i don't want to abandon the images.
I'm not sure where to put a file delete function in the delete routine. I'm guessing i need to make sure that the parent record is deleted before i start deleting the actual images but i need the record id to look up the images that were associated with it in the images table. If anyone has an example or can tell me where to start I would be very grateful. I'm not even sure how to search for this in the forums.
I'm not sure where to put a file delete function in the delete routine. I'm guessing i need to make sure that the parent record is deleted before i start deleting the actual images but i need the record id to look up the images that were associated with it in the images table. If anyone has an example or can tell me where to start I would be very grateful. I'm not even sure how to search for this in the forums.