Beispiel #1
0
 public static MvcHtmlString DropDownList(this HtmlHelper html, string name, Type tEnum, object htmlAttributes)
 {
     return(DropDownList(html, name, Utilidades.EnumToDictionary(tEnum), null, htmlAttributes));
 }
Beispiel #2
0
 public static MvcHtmlString DropDownList(this HtmlHelper html, string name, Type tEnum)
 {
     return(DropDownList(html, name, Utilidades.EnumToDictionary(tEnum), null, new { }));
 }
Beispiel #3
0
 public static MvcHtmlString DropDownListFor <TModel, TValue>(this HtmlHelper <TModel> html,
                                                              Expression <Func <TModel, TValue> > expression, Type tEnum)
 {
     return(DropDownListFor(html, expression, Utilidades.EnumToDictionary(tEnum), new { }, ""));
 }