title: Html.RadioButton of asp.net MVC generates id and name same
body: <pre><code>&lt;%=Html.RadioButton("BookType", "1")  %&gt; C#
  &lt;%=Html.RadioButton("BookType", "2")  %&gt; VB
  </code></pre>
  
  <p>Above code generates Below code</p>
  
  <pre><code>&lt;input id="BookType" name="BookType" type="radio" value="1" &gt;C#
  &lt;input id="BookType" name="BookType" type="radio" value="2" &gt;VB
  </code></pre>
  
  <p>I need same name but different ids</p>
  
  <p>I want output like </p>
  
  <p>*</p>
  
  <pre><code>&lt;input id="rdoCSharp" name="BookType" type="radio" value="1" &gt;C#
  &lt;input id="rdoVb" name="BookType" type="radio" value="2" &gt;VB
  </code></pre>
  
  <p>*</p>