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

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

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