linkbutton: confirmation with javascript

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gönen EREN

    #1

    linkbutton: confirmation with javascript

    i have a link button in a datalist
    i want to add to it
    DeleteLayerButt on.Attributes [ "onClick" ]+="javascript:r eturn confirm (
    'This will delete this LAYER and ALL DATA it contains!' );";

    how can i do it datalist is populateted with databind..

    thanks for your help...




  • Natty Gur

    #2
    Re: linkbutton: confirmation with javascript

    Add it to the button HTML ?

    Natty Gur, CTO
    Dao2Com Ltd.
    34th Elkalay st. Raanana
    Israel , 43000
    Phone Numbers:
    Office: +972-(0)9-7740261
    Fax: +972-(0)9-7740261
    Mobile: +972-(0)58-888377


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!

    Comment

    Working...