Results 1 to 1 of 1

Thread: Datagrid LinkButton and javascript-RESOLVED

  1. #1

    Thread Starter
    Hyperactive Member gtilles's Avatar
    Join Date
    Dec 2004
    Location
    Planet Earth
    Posts
    394

    Datagrid LinkButton and javascript-RESOLVED

    I have a datagrid with a column of DeleteCommand links
    When clicking the links I want to have a javascript message to confirm that this is what they want to do but onClick for the LinkButton does not accept a "return ConfirmDelete()" call to javascript, only public calls in the VB code.
    It works when I place it on the Form Submit but then the confirm comes up when other buttons are clicked.
    How can I call a javascript routine from only the datagrid ButtonLinks?

    *************************
    Found my answer here!
    http://weblogs.asp.net/sonukapoor/ar...29/343685.aspx
    Last edited by gtilles; Sep 9th, 2005 at 06:10 PM. Reason: resolved
    Truly, you have a dizzying intellect.

Posting Permissions

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



Click Here to Expand Forum to Full Width