link button delete confirm

Results 1 to 2 of 2

Thread: link button delete confirm

  1. #1
    Join Date
    Dec 1969

    Default link button delete confirm

    hi<BR>i do <BR>lnkDelete.Attributes.Add("onclick", "return confirm(&#039;Are you sure you want to delete this listing?&#039;);"); <BR>in pageload.<BR>when lnkDelete is clicked, a confirm pops up but the lnkDelete_Click is called even if user clicks cancel.<BR>what gives?<BR>thanks<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: link button delete confirm

    have a little view-&#062;source and have a look at the whole of the button as it&#039;s actually output<BR><BR><BR><BR>j<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts