Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

select radiobutton by checkbox

Avatar

Level 5

Hi All.

I have CheckBox, couple tables and RadioButtonList. The RadioButtonList show/hide tables. And I would like when user check CheckBox one of RadioButton will selected and one of the table will display. How it to do? I will appreciate for sample.

Thanks.

1 Reply

Avatar

Level 9

Hi,

In the click/change event of the checkbox you can put the following code.

if (this.rawValue == "Yes") // If the checkBox value is yes

     {

          radioButton1.rawValue = 1;

          Table1.presence = "visible";

     }

Thanks,

Bibhu.