Nov 9, 2016

Handling dynamically created RadioButtons in ASP.NET MVC

Model



Controller



View

 
<![CDATA[
    @model ExampleViewModel
    @using (Html.BeginForm())
    {
        <table class="table table-bordered table-striped">
            @for(int i=0;i<Model.Questions.Count;i++)
            {
                var question = Model.Questions[i];