This is working:
Code:
        cmdSave.Attributes.Add("Onclick", "this.style.visibility = 'hidden';return confirm('Confirm?')")
When i choose the yes option the postback is made


But i would like to disable the button instead of hide it.. but the following does not work...

Code:
        cmdSave.Attributes.Add("Onclick", "this.disabled = true;return confirm('Confirm?')")
When i choose the yes option nothing happens

Any help ???
Thx in advance