Didn't Work CheckBox?
Posted: Wed Feb 27, 2008 5:15 am
Hi Edward,
We did same, but didn't work.
We had Datasource
2 62 ADHD Yes u
2 42 Is the student toilet trained? Yes u
2 33 Is the student developmentally delayed? Yes u
2 36 Does the student have any mental retardation? Yes u
2 39 Does the sutdent have any physical restrictions? Yes u
2 31 Does the student have the abilithis/her needs? Yes u
2 34 Is the student hearing impaired? Yes u
2 37 Does student have any other mental disabilities? Yes u
2 40 Does the student require restricted activity? Yes u
2 69 Extra Rest (null) (null)
2 72 Regular Medication (null) (null)
2 70 Mealtime Assistance (null) (null)
2 73 Required Equipment No (null)
We did following steps:
1. draw 2 checkboxes and set property one checkbox style is Checked and another is Cross style.
2. In the GetCheckedEvent of the StiCheckBox, write the following code:
//CheckBox1 GetCheckedEvent
if(Table5.person_cond_ans=="Yes")
{
e.Value="true";
}
//CheckBox2 GetCheckedEvent
if(Table5.person_cond_ans=="No")
{
e.Value="true";
}
But Not working two checkboxes.
Please kindly provide correct way of write code.
How to solve that?
Its urgent Help.
Thanks in Advance,
We did same, but didn't work.
We had Datasource
2 62 ADHD Yes u
2 42 Is the student toilet trained? Yes u
2 33 Is the student developmentally delayed? Yes u
2 36 Does the student have any mental retardation? Yes u
2 39 Does the sutdent have any physical restrictions? Yes u
2 31 Does the student have the abilithis/her needs? Yes u
2 34 Is the student hearing impaired? Yes u
2 37 Does student have any other mental disabilities? Yes u
2 40 Does the student require restricted activity? Yes u
2 69 Extra Rest (null) (null)
2 72 Regular Medication (null) (null)
2 70 Mealtime Assistance (null) (null)
2 73 Required Equipment No (null)
We did following steps:
1. draw 2 checkboxes and set property one checkbox style is Checked and another is Cross style.
2. In the GetCheckedEvent of the StiCheckBox, write the following code:
//CheckBox1 GetCheckedEvent
if(Table5.person_cond_ans=="Yes")
{
e.Value="true";
}
//CheckBox2 GetCheckedEvent
if(Table5.person_cond_ans=="No")
{
e.Value="true";
}
But Not working two checkboxes.
Please kindly provide correct way of write code.
How to solve that?
Its urgent Help.
Thanks in Advance,