Example #1
0
        public static HtmlArea BootstrapHtmlAreaFor <TModel, TProperty>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression)
        {
            var control = new HtmlArea();

            control.Initialize(htmlHelper, expression);
            return(control);
        }
Example #2
0
        public static HtmlArea BootstrapHtmlArea(this HtmlHelper htmlHelper, string name)
        {
            var control = new HtmlArea(name);

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