Hi there ,
I am not sure if its a feature or an issue, but it appears as though I cannot uncheck a checked item in the radlistbox when the radlisbox is disabled
e.g.
if I change the code to this .. it works
thanks
Mark
I am not sure if its a feature or an issue, but it appears as though I cannot uncheck a checked item in the radlistbox when the radlisbox is disabled
e.g.
var
list = $find(
'<%=RadListBoxRisk1.CLientID %>'
)
alert(list.get_enabled() )
// displays false
var
checkeditems = list.get_checkedItems()
for
(x =0; x <checkeditems.length ;x ++ )
{
checkeditems[x].uncheck()
alert(checkeditems[x].get_checked());
// displays true
}
if I change the code to this .. it works
var
list = $find(
'<%=RadListBoxRiskEffects.CLientID %>'
)
list.set_enabled(
true
)
alert(list.get_enabled() )
// displays true
var
checkeditems = list.get_checkedItems()
for
(x =0; x <checkeditems.length ;x ++ )
{
checkeditems[x].uncheck()
alert(checkeditems[x].get_checked());
// displays false
}
list.set_enabled(
false
)
thanks
Mark