Esempio 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);
        }
Esempio n. 2
0
        public static IconPicker BootstrapIconPicker(this HtmlHelper htmlHelper, string name)
        {
            var control = new IconPicker(name);

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