linkbutton: confirmation with javascript

  • Thread starter Thread starter Gönen EREN
  • Start date Start date
G

Gönen EREN

i have a link button in a datalist
i want to add to it
DeleteLayerButton.Attributes [ "onClick" ]+="javascript:return 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...
 
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
 
Back
Top