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