BetterCms.Module.Root.Mvc.Helpers.FormHelper.HiddenSubmit C# (CSharp) 메소드

HiddenSubmit() 공개 정적인 메소드

Renders hidden submit button.
public static HiddenSubmit ( this html ) : IHtmlString
html this The HTML helper.
리턴 IHtmlString
        public static IHtmlString HiddenSubmit(this HtmlHelper html)
        {
            var sb = new StringBuilder();
            sb.AppendLine("<input type=\"submit\" style=\"position: absolute; left: -999em; top: -999em;\" />");
            return new MvcHtmlString(sb.ToString());
        }
    }
FormHelper