I am trying to disable a linkbutton but no luck! I tried every possible solution, However I can not limit users click on that link button. End users should not be able to click the link button more than one. One click and that is it! Button must go right away! How can I achieve this? My button is on ModalPopupExtender and it is a Make Payment button so image the user click that button more than one makes multiple payments.
My solutions were similar to this:
function returnFalse() {
return false;
}
function disableLinkButton(clientID) {
document.getElementById(clientID).disabled = "disabled";
document.getElementById(clientID).onclick = returnFalse;
}