コード例 #1
0
 /// <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));
 }
コード例 #2
0
 /// <summary></summary>
 public static MvcHtmlString BsBoolRadioList(this HtmlHelper htmlHelper, string name, object htmlAttributes = null)
 {
     return(BsRadioList(htmlHelper, name, HelperUtils.GetBoolSelectListItem(), htmlAttributes));
 }
コード例 #3
0
 /// <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));
 }
コード例 #4
0
        /*==================================================== */

        /// <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));
        }