J
Jon Booth
Hi All,
I'm trying to create a button that once clicked will disable itself (so as
not to be clicked twice)
I have the following in my cs
Button1.Attributes.Add("onClick","return
document.Form1.Button1.disabled=true;");
It disables the button but does not perform the post back. What am I doing
wrong?
If I remove the line it posts back fine.
Thanks
Jon
I'm trying to create a button that once clicked will disable itself (so as
not to be clicked twice)
I have the following in my cs
Button1.Attributes.Add("onClick","return
document.Form1.Button1.disabled=true;");
It disables the button but does not perform the post back. What am I doing
wrong?
If I remove the line it posts back fine.
Thanks
Jon