Quote:
Onclick="LinkButton1_Command"
Goes in your HTML as part of the button declaration - but you'd need to check that the CommandArgument value is correct as it would have to be a valid path to a file on the Server - you don't have access to delete files on the client at all.
I'd suggest you use the debugger to look at the method and exactly what is happening when you click the button.