Пример #1
0
        public static EmailBox BootstrapEmailBoxFor <TModel, TProperty>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression)
        {
            var control = new EmailBox();

            control.Initialize(htmlHelper, expression);
            return(control);
        }
Пример #2
0
        public static EmailBox BootstrapEmailBox(this HtmlHelper htmlHelper, string name)
        {
            var control = new EmailBox(name);

            control.Initialize(htmlHelper);
            return(control);
        }