Hello all, I have this scenario, in a from I have a checkbox.When the user clicks on that checkbox I go through some methods and bussiness logic and based on that,I should allow or deny user from altering that checkbox.How can I achieve that?
tried the following with no luck:No mater what i do , I can not alter the state of the checkbox.
public void clicked()
{
//clicked event of the checkbox
run somemethod(); //returns true or false based on other conditions
if(somemethod() == true)
{
this.value(true);
}
else
{
this.value(false);
}
}
*This post is locked for comments
I have the same question (0)