/// <summary></summary> public static MvcHtmlString BsBoolRadioList(this HtmlHelper htmlHelper, string name, string trueLabel, string falseLabel, IDictionary <string, object> htmlAttributes) { return(BsRadioList(htmlHelper, name, HelperUtils.GetBoolSelectListItem(trueLabel, falseLabel), htmlAttributes)); }
/// <summary></summary> public static MvcHtmlString BsBoolRadioList(this HtmlHelper htmlHelper, string name, object htmlAttributes = null) { return(BsRadioList(htmlHelper, name, HelperUtils.GetBoolSelectListItem(), htmlAttributes)); }
/// <summary></summary> public static MvcHtmlString BsBoolRadioListFor <TModel, TBool>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TBool> > expression, string trueLabel, string falseLabel, IDictionary <string, object> htmlAttributes) { return(BsRadioListFor(htmlHelper, expression, HelperUtils.GetBoolSelectListItem(trueLabel, falseLabel), htmlAttributes)); }
/*==================================================== */ /// <summary></summary> public static MvcHtmlString BsBoolRadioListFor <TModel, TBool>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TBool> > expression, object htmlAttributes = null) { return(BsRadioListFor(htmlHelper, expression, HelperUtils.GetBoolSelectListItem(), htmlAttributes)); }