Apr 26, 2011, 2:28 PM
Recommended way to enable/disable controls from server side?
Hi there,
Again, apologies for the (hopefully) simplistic nature of this query! but I was wondering what the recommended method of disabling a control (in this case a combobox but it could be anything) from the server side?
I'm aware that client side we can just called combobox.enable()/combobox.disable() but what are the server side equivilents?
I can happily disable the control using:
combobox.Disabled = true;
but when trying to use either:
- combobox.Disabled = false;
or
- combobox.Enabled = true;
the control does not seem to activate again.
Am I missing something here?
Cheers,
Doug
Again, apologies for the (hopefully) simplistic nature of this query! but I was wondering what the recommended method of disabling a control (in this case a combobox but it could be anything) from the server side?
I'm aware that client side we can just called combobox.enable()/combobox.disable() but what are the server side equivilents?
I can happily disable the control using:
combobox.Disabled = true;
but when trying to use either:
- combobox.Disabled = false;
or
- combobox.Enabled = true;
the control does not seem to activate again.
Am I missing something here?
Cheers,
Doug