title: how to use radiobuttonlist in mvc4
body: <p>I need to create a simple radio button list selection to choose from the following values:</p>
  
  <ul>
  <li>Agree</li>
  <li>Disagree</li>
  <li>Not sure</li>
  </ul>
  
  <p>How would we add it in the following razor view? Is it better to create an enum of these values in the <code>QuestionModel</code> and use <code>foreach</code> to bind with html helper. </p>
  
  <p>Any example or ideas?</p>
  
  <pre class="lang-html prettyprint-override"><code>@model Survey.Models.Question
  
  @using (Html.BeginForm("Index", "Home", new { QuestionId = Model.QuestionId }))
  {
      &lt;h2&gt;Survey&lt;/h2&gt;
      &lt;fieldset&gt;
          &lt;legend&gt;Please Choose&lt;/legend&gt;
          &lt;p&gt;
              Question ID:
              @Model.QuestionId
          &lt;/p&gt;
          &lt;p&gt;
              Description:
              @Model.Description
          &lt;/p&gt;
  
          &lt;input type="submit" value="Next" id="submitButton" /&gt;
      &lt;/fieldset&gt;
  
  }
  </code></pre>