Working with Aspnemvc 4, how to get Html.RadioButtonFor selected value to Controller


0 votes
asked Mar 15, 2016 by gur6981Prob (330 points)
I have tried creating strongly typed view and got stuck with issue of getting selected Radio button value to controller.

4 Answers

–1 vote
answered Mar 19, 2016 by System (360 points)

Argument Null Exception The value parameter is null.
Object The value of the selected radio button. This InputExtensions.RadioButton Method (HtmlHelper, String, Object) (System.Web.Mvc.Html) could give some clues
0 votes
answered Apr 18, 2016 by Sharing (290 points)

These radiobutton values are dynamically generated. NET MVC How to Pass radiobutton selected value from view to contr.
See http://forums.asp.net/t/2078819.aspx?ASP+NET+MVC+How+to+Pass+radiobutton+selected+value+from+view+to+controller+partial+views to learn how to do that properly
0 votes
answered May 4, 2016 by v_korf (560 points)
commented May 4, 2016 by Question_73 (240 points)
When answering a question please:Read the question carefully
commented May 5, 2016 by Vqr_9884_be (450 points)
There have been similar discussions about commenting
+1 vote
answered Jun 2, 2016 by unproductive (370 points)
commented Jun 3, 2016 by ohg7443 (480 points)
I have this code which reads all the files from a directory
commented Jun 4, 2016 by rivera_in (240 points)
Check the complete gist here

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...