Exemplo n.º 1
0
 public static HtmlString FormControl(this HtmlHelper helper, int fieldid, int ID = 0, string defaultValue = "")
 {
     return(HtmlControllHelper.InitMetadataHtml(new FormControllerModel()
     {
         FieldID = fieldid,
         ID = ID,
         DefaultValue = defaultValue
     }));
 }
Exemplo n.º 2
0
 /// <summary>
 /// 自定义控件
 /// </summary>
 public static HtmlString FormCustomizeControl(this HtmlHelper helper, int fieldid, int ID = 0, string className = "",
                                               string customizeFieldName = "", string defaultValue = "", string attr = "")
 {
     return(HtmlControllHelper.InitMetadataHtml(new FormControllerModel()
     {
         FieldID = fieldid,
         ID = ID,
         DefaultValue = defaultValue,
         IsCustomize = true,
         CustomizeFieldName = customizeFieldName,
         Attr = attr,
         ClassName = " CustomizeController " + className
     }));
 }
Exemplo n.º 3
0
 public static HtmlString InitRelationFieldSearchControler(this HtmlHelper helper, SearchField field)
 {
     return(HtmlControllHelper.InitRelationFieldSearchControler(field));
 }
Exemplo n.º 4
0
 public static HtmlString InitSearchControler(this HtmlHelper helper, SearchField field)
 {
     field.ClassName = "inputText";
     return(HtmlControllHelper.InitSearchControler(field));
 }
Exemplo n.º 5
0
 public static HtmlString GetValue(this HtmlHelper helper, int fieldid, int ID)
 {
     return(HtmlControllHelper.GetValue(fieldid, ID));
 }
Exemplo n.º 6
0
 public static HtmlString GetText(this HtmlHelper helper, int fieldid, int ID, string defaultvalue = "")
 {
     return(HtmlControllHelper.GetText(fieldid, ID, defaultvalue));
 }
Exemplo n.º 7
0
 public static HtmlString FormSpanControl(this HtmlHelper helper, int fieldid, int ID = 0)
 {
     return(HtmlControllHelper.FormSpanControl(fieldid, ID));
 }
Exemplo n.º 8
0
 public static HtmlString FormHiddenControl(this HtmlHelper helper, string fieldname, int ID = 0, string EntityName = "", string defaultvalue = "")
 {
     return(HtmlControllHelper.FormHiddenControl(fieldname, ID, EntityName, defaultvalue));
 }
Exemplo n.º 9
0
 public static HtmlString FormHiddenControl(this HtmlHelper helper, int fieldid, int ID = 0, string defaultvalue = "")
 {
     return(HtmlControllHelper.FormHiddenControl(fieldid, ID, defaultvalue));
 }
Exemplo n.º 10
0
 public static HtmlString FormCustomizeControl(this HtmlHelper helper, FormControllerModel model)
 {
     model.IsCustomize = true;
     model.ClassName   = " CustomizeController " + model.ClassName;
     return(HtmlControllHelper.InitMetadataHtml(model));
 }
Exemplo n.º 11
0
 public static HtmlString FormControl(this HtmlHelper helper, FormControllerModel model)
 {
     return(HtmlControllHelper.InitMetadataHtml(model));
 }