vb.net (1)

MVC Radiobutton group

In order to group a series of radiobutton and allow only one control of the group to be selectable we’ll have to set the same value for the “name” attribute on all controls of the group. In Vb.Net Code Snippet <div id="group1">     @Html.RadioButton("group1", False, New With {.class = "radioClass"})     @Html.RadioButton("group1", False, New With {.class = […]