3.2.0

setControlDisabled('true') not working.

Hi Alex,

I tried disabling a button after it gets rendered by calling
obj.setControlDisabled('true');

The button image grays' out but the text is still bright and the button is still clickable and can execute the onClick() event even when

obj.getControlDisabled(); returns true.

I am using Mozilla as my browser and 2.0.2 rc3.

Do I have to call any other method or set any attribute?

Sri.
February 21,
umm.... don't put quotes around the word true... you are actually needing to send the boolean value of true or false (no quotes!)
John Mason
May 8,

This topic is archived.

See also:


Back to support forum