Hi,
I am trying to achieve something as below:
There is a checkbox control and only when user selects the checkbox, he should be presented with another control which is Radio Button with 2 options available, Ex:A and B. Now when user selects B option, he should be presented with another control which
is a checkbox option.
Is this possible?
I tried something as below, but doesn't seem to be working. None of the Radio Button options are selected when the page is loaded, even though I am setting default value to False.
<my:Control my:Name="CheckBox1" my:TypeName="UocCheckBox" my:Caption="{Binding Source=schema, Path=CheckBox1.DisplayName}" my:Description="{Binding Source=schema, Path=CheckBox1.Description}" my:RightsLevel="{Binding
Source=rights, Path=CheckBox1}" my:AutoPostback="true">
<my:Properties>
<my:Property my:Name="ReadOnly" my:Value="false" />
<my:Property my:Name="Checked" my:Value="{Binding Source=object, Path=CheckBox1, Mode=TwoWay}" />
<!--<my:Property my:Name="Text" my:Value="%SYMBOL_CheckBox1_END%" />-->
<my:Property my:Name="Hint" my:Value="{Binding Source=schema, Path=CheckBox1.Hint}" />
</my:Properties>
</my:Control>
<my:Control my:Name="RadioButtonOption" my:TypeName="UocRadioButtonList" my:Caption="%SYMBOL_RadioButtonOption_END%" my:Description="{Binding Source=schema, Path=RadioButtonOption.Description}"
my:Visible="{Binding Source=object, Path=CheckBox1}" my:AutoPostback="true">
<my:Options>
<my:Option my:Value="False" my:Caption="Option1" my:Hint="Option1"/>
<my:Option my:Value="True" my:Caption="Option2" my:Hint="Option2"/>
</my:Options>
<my:Properties>
<my:Property my:Name="Required" my:Value="{Binding Source=schema, Path=RadioButtonOption.Required}"/>
<my:Property my:Name="DefaultValue" my:Value="False"/>
<my:Property my:Name="CaptionPath" my:Value="Caption"/>
<my:Property my:Name="HintPath" my:Value="Hint"/>
<my:Property my:Name="ItemSource" my:Value="Custom"/>
<my:Property my:Name="SelectedValue" my:Value="{Binding Source=object, Path=RadioButtonOption, Mode=TwoWay}"/>
</my:Properties>
</my:Control>
Kindly Help!!
Thanks,
Veena