Tuesday 15 June 2010

asp.net - OnClientClick="return confirm('Are you sure you want delete');" -


Hi, I am using this for confirmation, but when the linky on the link button confirms that first During

Successfully deleting that record

  & lt; Asp: LinkButton id = "Delete LinkBTN" Run = "Server" OnClientClick = "Confirm Return ('Are you sure you want to delete');" CommandName = "Delete" & gt; Remove & lt; / Asp: LinkButton & gt;  

Any help would be great thanks

If the above answer is your If you do not work for it, try the code below:

  & lt; Asp: linkbutton id = "Delete link sharing" runat = "server" OnClientClick = "If (delete!?)) False return;" CommandName = "Delete" & gt; Remove & lt; / Asp: LinkButton & gt;  

No comments:

Post a Comment