title: Razor radio button MVC
body: <pre><code>&lt;input id="@question.QuestionId" type="radio" value="@question.QuestionDescription" name="@string.Format("name_{0}", question.Group)" checked=@question.IsSelected"checked":false /&gt; @question.QuestionDescription
  </code></pre>
  
  <p>Depending on the question.IsSelected value the checkbox should be selected or not selected.</p>
  
  <p>But regardless of true or false of the IsSelected property Radiobutton is always checked. Can you point where the error in checked attribute please </p>