摘要:
Mvc 3 中 有RadioButtonFor 但是没有list,扩展一下,方法如下: View Code publicstaticMvcHtmlStringRadioButtonListFor<TModel,TProperty>(thisHtmlHelper<TModel>htmlHelper,Expression<Func<TModel,TProperty>>expression,IEnumerable<SelectListItem>selectList,stringoptionLabel,IDictionary<strin 阅读全文