Server Side ASP button

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
 
T

tdavisjr

This disables the button, however, the server side event handler code is not
executed.
 
T

tdavisjr

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" />
 
S

Shaqman

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

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,130
Latest member
MitchellTe
Top