Example #1
0
 public static MvcHtmlString AngularEditor(this HtmlHelper html, string expression, string templateName, string htmlFieldName, object additionalViewData)
 {
     return(AngularTemplateHelpers.Template(html, expression, templateName, htmlFieldName, DataBoundControlMode.Edit, additionalViewData));
 }
Example #2
0
 public static MvcHtmlString AngularEditorForModel(this HtmlHelper html, object additionalViewData)
 {
     return(MvcHtmlString.Create(AngularTemplateHelpers.TemplateHelper(html, html.ViewData.ModelMetadata, string.Empty, null, DataBoundControlMode.Edit, additionalViewData)));
 }
Example #3
0
 public static MvcHtmlString AngularEditor(this HtmlHelper html, string expression, string templateName)
 {
     return(AngularTemplateHelpers.Template(html, expression, templateName, null, DataBoundControlMode.Edit, null));
 }