Article ID: 195183
Article Last Modified on 3/16/2005
Checkbox1.setChecked((Request.Form('_Checkbox1_state').item.search
(/_checked=true/)+1)!=0);
In the sample given below, make the following modification to the
Button1_onclick() function:
function Button1_onclick() {
Checkbox1.disabled=0;
Checkbox1.setChecked((Request.Form('_Checkbox1_state').item.search
(/_checked=true/)+1)!=0); //add this line
}
You can also work around this behavior by setting the scripting platform to
Client(IE 4.0 DHTML) for the Checkbox DTC.
Checkbox1.setChecked=(1);
Checkbox1.disabled=(1);
Checkbox1.disabled=(0);
Additional query words: check uncheck unchecked checked
Keywords: kbbug kbctrl KB195183