public static MvcHtmlString Display(this HtmlHelper html, string expression) { return(TemplateHelpers.Template( html, expression, null /* templateName */ , null /* htmlFieldName */ , DataBoundControlMode.ReadOnly, null /* additionalViewData */ )); }
public static MvcHtmlString Editor( this HtmlHelper html, string expression, string templateName, string htmlFieldName ) { return(TemplateHelpers.Template( html, expression, templateName, htmlFieldName, DataBoundControlMode.Edit, null /* additionalViewData */ )); }
public static MvcHtmlString Display( this HtmlHelper html, string expression, string templateName, string htmlFieldName, object additionalViewData ) { return(TemplateHelpers.Template( html, expression, templateName, htmlFieldName, DataBoundControlMode.ReadOnly, additionalViewData )); }
public static MvcHtmlString Editor( this HtmlHelper html, string expression, object additionalViewData ) { return(TemplateHelpers.Template( html, expression, null /* templateName */ , null /* htmlFieldName */ , DataBoundControlMode.Edit, additionalViewData )); }