Hello all:
I have a LinkButton which I use to delete an mp3 file, I have created the LinkButton dynamically.
The issue is that im using JavaScript onClientClick to provide a popup to ask user if they wish to proceed
in the form of 'return confirm' (code below). My problem is that when the popup appears, if OK or Cancel is clicked
the event fires to delete the file! I only want the code to fire when I press OK
if they hit Cancel then i dont want anything to happen, i.e. no event to fire.
Code behind:- LinkButton LB_del = new LinkButton();
PH_mp3.Controls.Add(LB_del);
LB_del.Text = "del" + "<br />";
LB_del.Click += new EventHandler(del_mp3_Click);
LB_de ...
Go to the complete details ...