Click the submit button to post the value of the selected RadioButton. When submitting the female RadioButton, validation error message will be shown by using Data Annotation.
This sample demonstrates strongly typed support in RadioButton. You can bind model property to the RadioButton by using Lambda Expression.
While submitting form, the model property will be based on value
of the selected RadioButton.
More information about RadioButton can be found in this documentation section .