3
Reply

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

Anji Chelloju

Anji Chelloju

Aug 13 2013 4:27 AM
1.2k
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)