:: Forum >>

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.
Wednesday, February 21, 2007
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
Tuesday, May 8, 2007

This topic is archived.


Back to support forum

Forum search