Exemplo n.º 1
0
        public static UrlBox BootstrapUrlBoxFor <TModel, TProperty>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression)
        {
            var control = new UrlBox();

            control.Initialize(htmlHelper, expression);
            return(control);
        }
Exemplo n.º 2
0
        public static UrlBox BootstrapUrlBox(this HtmlHelper htmlHelper, string name)
        {
            var control = new UrlBox(name);

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