I have a Gallery List. There I got Imagename, ImageID. Below the Images I got a Button called “DELETE IMAGE”. Now that Delete Image calls a Server Delete Action. That works. But how to pass a variable like the Filename back to the ServerActions? So I can delete the Filename? Now I’m using ImageID to make a proper delete Statement in SQL.
I got no Filename Variable to delete the File on my Upload Folders… :
BTW how to make that process safe as I don’t want people to just manipulate any FileVariable to they can delete anything on server… ?
Community Page
Last updated:
Last updated: