I added a javascript to hide tablerow if the user click on a toggle radio button.

```
<script type="text/javascript">
    $(document).ready(function () {
        $('#radio1').change(function () {
            if ($(this).val() == false) {
                $('#trMyTextBox').show();
            }  
        });
        $('#radio2').change(function () {
            if ($(this).val() == false) {
                $('#trMyTextBox').hide();
            }
        });
    });
</script>

<tr id="trMyTextBox">
<td style="width: 50%;">
</td>
<td>
<div class="col-xs-7">
@Html.TextBoxFor(model => model.MyTextBox, new {@id = "textEmail", @class = "form-control"})
</div>
</td>
</tr>

```

I got it working when the user is clicking between the radio buttons. I need to make a change, from my controller, I am passing in model and if the properties like showtextbox is false, I need to hide the table row by default. How do I do that? Thanks.