RenderOpening() public method

public RenderOpening ( ) : string
return string
        public static HtmlForm BeginForm(this HtmlHelper This)
        {
            var fd = This.GetFormData();

            // Create a new form
            fd.currentForm = new HtmlForm(This, fd.currentForm);

            var tag = new TagBuilder("form");

            tag.AddAttribute("method", "post");
            tag.AddAttribute("action", This.Context.ManosContext.Request.Path);

            This.Output.Write(tag.RenderOpening());
            This.Output.Write("\n");

            return fd.currentForm;
        }