/// <summary></summary> public static MvcHtmlString BoolRadioListFor <TModel, TBool>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TBool> > expression, string trueLabel, string falseLabel, object htmlAttributes = null) { return(RadioListFor(htmlHelper, expression, HelperUtils.GetBoolSelectListItem(trueLabel, falseLabel), htmlAttributes)); }
/// <summary></summary> public static MvcHtmlString BoolRadioList(this HtmlHelper htmlHelper, string name, object htmlAttributes = null) { return(RadioList(htmlHelper, name, HelperUtils.GetBoolSelectListItem(), htmlAttributes)); }
/// <summary></summary> public static MvcHtmlString BoolRadioList(this HtmlHelper htmlHelper, string name, string trueLabel, string falseLabel, IDictionary <string, object> htmlAttributes) { return(RadioList(htmlHelper, name, HelperUtils.GetBoolSelectListItem(trueLabel, falseLabel), htmlAttributes)); }
/// <summary></summary> public static MvcHtmlString BoolRadioListFor <TModel, TBool>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TBool> > expression, IDictionary <string, object> htmlAttributes) { return(RadioListFor(htmlHelper, expression, HelperUtils.GetBoolSelectListItem(), htmlAttributes)); }