Radiobutton acting like a checkbox MVC
<p>With the code below, i can select multiple radio buttons at the same time, that is a problem, a true radio button only works with ONE selected item.  How do i re-arrange my code so that it acts like a real radio button and not like a checkbox like the code below?</p>

<pre><code>for (int i = 0; i &lt; Model.RadioButtonItems.Count; i++)
{
    &lt;div&gt;
        @Html.HiddenFor(m =&gt; m.RadioButtonItems[i].RBName)
        @Html.LabelFor(l =&gt; l.RadioButtonItems[i].RBIsSelected, Model.RadioButtonItems[i].RBName)
        @Html.RadioButtonFor(r =&gt; r.RadioButtonItems[i].RBIsSelected, true);
    &lt;/div&gt;
}
</code></pre>

<p>The rest of code:</p>

<p>Model:</p>

<pre><code>public class ModelVariables
{
    public List&lt;Item&gt; RadioButtonItems { get; set; }
}

public class Item
{
    public string RBName { get; set; }
    public bool RBIsSelected { get; set; }
}

public static class Repository
{
    public static List&lt;Item&gt; RBFetchItems()
    {
        return new List&lt;Item&gt;()
        {
            new Item() {RBName = "Metal"},
            new Item() {RBName = "Jazz"},
            new Item() {RBName = "Trance"}
        };
    }
}
</code></pre>

<p>Controller:</p>

<pre><code>var selectedRBItems = model.RadioButtonItems.Where(x =&gt; x.RBIsSelected).Select(x =&gt; x.RBName).ToList();
if (model.RadioButtonItems != null &amp;&amp; selectedRBItems.Count &gt; 0)
{
    ViewBag.RBResults = "Successfully Logged Pressed RB's!";
}
else
{
    ViewBag.RBResults = "You must select a radio button!";
}
</code></pre>

<p>Summary: this code let's you select multiple radiobuttons, i DONT want that, i want only one possible selection out of many options.</p>