MVC RadioButtonFor group
问题 I have a class for a PDF public class UIClonePDFDetail { public int CatalogueID { get; set; } public List<PDF> PDFToClone { get; set; } } The pdf class is: public class PDF { public int ID{ get; set; } public bool Selected{ get; set; } } I am trying to create a list of radiobuttons for the user to select 1 and this sets the selected property on the PDF element in the PDFToClone list. Html.RadioButtonFor(model => Model.UIClonePDFDetail[Model.UIClonePDFDetail.IndexOf(stageSelection)].Selected,