Expand my Community achievements bar.

Pre-charge boolean value (from webservice connection) on radiobutton

Avatar

Former Community Member

Hello, i have problems when i pass a boolean (true/false) value to a radiobutton within my form. This radiobutton has 2 items with binding values specified like this: first button value is: true; and the other button has: false

My problem is: when i pass the boolean value from a webservice to this button it does not work. i.e. if i pass false radiobutton value didn't set to button with the specified value "false"

My question is always treat the values like "strings" so i can no pass boolean to this button?? or there are any way to do this?

1 Reply

Avatar

Former Community Member

You should be pasing the value to the RadioButtonList not the individual RadioButtons

Paul