Anji Chelloju

Anji Chelloju

  • NA
  • 35
  • 12k

radio button in asp.net mvc........

Aug 13 2013 4:27 AM
Hello every one......


i want to retrieve the selected radio button value in model or controller.................iam new to mvc......plz help any one......
thanks in advance

here is my code
 <%:Html.RadioButtonFor(m => m.type,1)%>Is Administrator<br />
                                       <%:Html.RadioButtonFor(m => m.type,2)%>Is Data Operator<br />
                                        <%:Html.RadioButtonFor(m => m.type,3)%>Is Approver<br /></td>

Answers (3)