title: MVC Razor Radio Button
body: <p><strong>In partial view</strong> 
  I work with textboxes like this.</p>
  
  <pre><code>@model Dictionary&lt;string, string&gt;
  @Html.TextBox("XYZ", @Model["XYZ"])
  </code></pre>
  
  <p>How can i generate radiobuttons, and get the desired value in the form collection as YES/NO True/False) ? Currently i am getting null for "ABC" if i select any value for the below.</p>
  
  <pre><code>   &lt;label&gt;@Html.RadioButton("ABC", @Model["ABC"])Yes&lt;/label&gt;
     &lt;label&gt;@Html.RadioButton("ABC", @Model["ABC"])No&lt;/label&gt;
  </code></pre>
  
  <p><strong>Controller</strong></p>
  
  <pre><code>        public int Create(int Id, Dictionary&lt;string, string&gt; formValues)
          {
           //Something Something
          }
  </code></pre>