HTML Button running at=server

  • Thread starter Thread starter Kevin Lawrence
  • Start date Start date
K

Kevin Lawrence

Hi

I have a HTML button that can be accessed server-side too - the only problem
is when the button is disabled in the client (via onclick="this.disabled=true")
it doesn't reflect this when a post-back occurs.

Any ideas?

Thanks
Kev
 
Any ideas about what? Client side changes simply are not sent back the
server. If you want it disabled on the server, you have to disable it on
the server, or do some hack like set some hidden fields that indicate your
state.
 
Any ideas about what?

Any ideas about how I can work around it...

Client side changes simply are not sent back
the server. If you want it disabled on the server, you have to
disable it on the server, or do some hack like set some hidden fields
that indicate your state.

Well is there a way I can use a server control and NOT have it post back?
I hate having to work around evey god-damn flaw in web dev.

Kev
 

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