/// <summary></summary> public static MvcHtmlString CheckboxList(this HtmlHelper htmlHelper, string name, IEnumerable <int> selectList, object htmlAttributes = null) { return(CheckboxList(htmlHelper, name, HelperUtils.ToSelectListItem(selectList), htmlAttributes)); }
/// <summary></summary> public static MvcHtmlString EnumRadioListFor <TModel, TEnum>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TEnum> > expression, IDictionary <string, object> htmlAttributes) { IDictionary <string, string> selectList = OrionUtils.EnumToDictionary <TEnum>(); return(RadioListFor(htmlHelper, expression, HelperUtils.ToSelectListItem(selectList), htmlAttributes)); }
/// <summary></summary> public static MvcHtmlString RadioListFor <TModel, TProperty, K, V>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression, IDictionary <K, V> selectList, IDictionary <string, object> htmlAttributes) { return(RadioListFor(htmlHelper, expression, HelperUtils.ToSelectListItem(selectList), htmlAttributes)); }
/// <summary></summary> public static MvcHtmlString RadioListFor <TModel, TProperty>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression, IEnumerable <string> selectList, object htmlAttributes = null) { return(RadioListFor(htmlHelper, expression, HelperUtils.ToSelectListItem(selectList), htmlAttributes)); }