About button disable question !!

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

Hi,

I have a button(server side) in my webform page, but how should I do if I
want to disable the button when user click it.

Thanks !!
 
If it causes a post-back event, then simply use button.Enabled = false.

If no, you will need to wire up some JavaScript that disables the button in
response to OnClick.
 
Back
Top