Still having a problem. I've converted the code to VB and have:
btnOkay.Attributes.Add("onclick", "javascript
:document.getElementById('" _
& btnOkay.ClientID + "').disabled=true;" &
Page.GetPostBackEventReference(btnOkay))
On the Web page it's
<tr>
<TD align="center"><input type="image" name="btnOkay"
onclick="javascript
:document.getElementById('btnOk ay').disabled=true;__doPostBack('btnOkay','')if
(typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); "
language="javascript" id="btnOkay" src="imgBtnOkay.gif" alt="Click to accept
the name as the signer." border="0" /></TD>
</tr>
Don't understand this code but it doesn't stop repeat clicks. Additional
HELP please!
--
tsiGeorge
"Craig Deelsnyder" wrote:
On Fri, 24 Jun 2005 14:22:02 -0500, tsiGeorge <mo***@community.nospam>
wrote:
When the web page takes a while to process users get impatient and click
the
button again. I need to throw these extra clicks away or disable the
button
after the first click.
There was a discussion of this a few days ago:
http://groups-beta.google.com/group/...1f13c42?rnum=1
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET