I am working on asp.net MVC 3 application. I have created a Razor view and added a radiobutton like this:
@Html.RadioButton("radiobutton1", false, new { @class = "answer", id = "_Q_" }) Male
In Post action method, I want to see if user selected/checked this radio button, How can I check this ?
Please suggest
You can get the value from the forms collection: