Пример #1
0
 public static MvcHtmlString BootstrapTextBoxFor <TModel, TValue>(
     this HtmlHelper <TModel> htmlHelper,
     Expression <Func <TModel, TValue> > expression,
     HtmlExtensionsCommon.Html5InputTypes type,
     object htmlAttributes = null
     )
 {
     return(HtmlExtensionsTextBox.BootstrapTextBoxFor(htmlHelper,
                                                      expression, type, string.Empty, string.Empty, false, false,
                                                      string.Empty, htmlAttributes));
 }
Пример #2
0
 public static MvcHtmlString BootstrapTextBoxFor <TModel, TValue>(
     this HtmlHelper <TModel> htmlHelper,
     Expression <Func <TModel, TValue> > expression,
     HtmlExtensionsCommon.Html5InputTypes type,
     string title,
     string placeholder,
     bool isRequired,
     bool isAutoFocus,
     object htmlAttributes = null
     )
 {
     return(HtmlExtensionsTextBox.BootstrapTextBoxFor(htmlHelper,
                                                      expression, type, title, placeholder, isRequired, isAutoFocus,
                                                      string.Empty, htmlAttributes));
 }