Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

jualarco
Level 2
Level 2

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
pguerett
Level 10
Level 10

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

Paul