Пример #1
0
        public virtual ControlGroupWriter RichLabel <T, TValue>(IHtmlHelper <T> helper, Expression <Func <T, TValue> > exp, int size, object attrs, object inputAttrs, string classes)
        {
            ControlGroupWriter wt = GetNewWriter(helper);

            wt.UseExpression(exp);
            wt.SetOptions(size, null, null, attrs, inputAttrs, null, classes);
            return(wt);
        }
Пример #2
0
        public virtual ControlGroupWriter RichTextBox <T, TValue>(IHtmlHelper <T> helper,
                                                                  Expression <Func <T, TValue> > expression,
                                                                  string modules    = null,
                                                                  int size          = 6,
                                                                  object attrs      = null,
                                                                  object inputAttrs = null,
                                                                  string classes    = null)
        {
            ControlGroupWriter wt = GetNewWriter(helper);

            wt.UseExpression(expression);
            wt.SetOptions(size, null, null, attrs, inputAttrs, null, classes);
            wt.InputModel.AngularJsConfig = modules;

            return(wt);
        }