Possible Duplicate:
Managing LinkButton with Javascript?
I want to put LinkButton on MultiView control on Webform by manipulating function of LinkButton.LinkButton called “Exit Chat”,when I click this button I need to see OK-Cancel dialog and when I select OK button,everything should be disappered on the MultiView.
How can I do this?(by using HTML and Javascript on Webform controls)
I tried to write javascript:confirm(“*”); When I write this code I couldnt control OK-Cancel dialog screen 🙁
You can do add a confirmation to LinkButton on client side as:
You can also call a javascript function as: