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
 
This disables the button, however, the server side event handler code is not
executed.
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top