title: Mapping ASP.NET MVC Model with html for radio buttons without using Htmlhelpers
body: <p>I have a model as defined below.</p>
  
  <pre><code>public class Holiday
      {
          public string Name { get; set; }
          public string Description { get; set; }
          public DateTime Date { get; set; }
          public HolidayType Type { get; set; }
          public bool AllYears { get; set; }
      }
      public enum HolidayType
      {
          HOLIDAY1 = 1,
          HOLIDAY2,
          HOLIDAY3
      }
  </code></pre>
  
  <p>In my view i am writing html code without using htmlhelpers(specific project reason).
  Now my data like name, description, date get bound to the model fields except for the radio button for <code>HolidayType Type</code></p>
  
  <p>Below is the view code. How can i get the Type value automatically populated with my input in the page.</p>
  
  <pre><code>@model Models.Holiday
  
  @{
      ViewBag.Title = "Create";
  }
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Create Holiday&lt;/title&gt;
      &lt;script src="~/Content/Renderer/KendoUI/kendo.web.min.js"&gt;&lt;/script&gt;
      &lt;script&gt;
          $(function () {
  
              $("#holiday").kendoDatePicker();
          });
      &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form id="createholiday" action="/holiday/holiday/create" method="post"&gt;
          &lt;label for="Name"&gt;Holiday Name&lt;/label&gt;
          &lt;input type="text" id="name" name="Name" /&gt;&lt;br /&gt;
          &lt;label for="Description"&gt;Holiday Description&lt;/label&gt;
          &lt;input type="text" id="description" name="Description" /&gt;&lt;br /&gt;
          &lt;label for="Date" id="date"&gt;Date&lt;/label&gt;&lt;br /&gt;
          &lt;input id="holiday" name="Date"/&gt;&lt;br /&gt;
          &lt;label for="type"&gt;Type&lt;/label&gt;
          &lt;input type="radio" name="Type" value="Holiday 1"&gt;Holiday 1&lt;br&gt;
          &lt;input type="radio" name="Type" value="Holiday 2"&gt;Holiday 2&lt;br&gt;
          &lt;input type="radio" name="Type" value="Holiday 3"&gt;Holiday 3&lt;br&gt;
          &lt;input type="submit" name="submit" value="Create" /&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>