Server Side ASP button

  • Thread starter Thread starter Shaqman
  • Start date Start date
S

Shaqman

I have a server side asp button that submits a form after completion and a
postback to acknowledgement. I need to disable the button after the user
clicks on this once to prevent duplication. There is a slight delay in the
process (business rules) between the submit button and the postback.

Basically I need the button to be clicked once. Anyhelp will be appreciated
 
Ok. Seems like this works if you use a server side html button instead of an
asp.net button like so:

<input type="button"
onclick="this.value='Processing...';this.disabled=true;"
onserverclick="ButtonClick" runat="server" value="Click Me" />
 
Thanks for the info, except it does not work in asp.net 1.1. Anyway I can
get this to work in VS2003
 
Back
Top