C
ccordero
Hi!
I am working with asp.net 1.1 and javascript.
I have a client side checkbox, a client side button, and an asp.net
image button.
When I check the checkbox, I want the client side button to disable,
and I want the same button enebled if I uncheck the checkbox.
I have the checkbox_onclick javascript function needed to do that and
it is working fine.
The problem is that in the asp.net image button Click event (code
behind), I change programatically the checkbox value, depending on a
value queried from a database, and when this value is changed, it
doesn't fire up the checkbox javascript onclick handler, so, the
checkbox value changes, but not the disabled property of the client
side button. :'(
I would appreciate any help!
Thank you!
I am working with asp.net 1.1 and javascript.
I have a client side checkbox, a client side button, and an asp.net
image button.
When I check the checkbox, I want the client side button to disable,
and I want the same button enebled if I uncheck the checkbox.
I have the checkbox_onclick javascript function needed to do that and
it is working fine.
The problem is that in the asp.net image button Click event (code
behind), I change programatically the checkbox value, depending on a
value queried from a database, and when this value is changed, it
doesn't fire up the checkbox javascript onclick handler, so, the
checkbox value changes, but not the disabled property of the client
side button. :'(
I would appreciate any help!
Thank you!