/// <summary> /// Creates a nice form /// </summary> /// <param name="html">The Current HtmlHelper Instance</param> /// <param name="formId">The id of the form</param> /// <returns>An MvcForm</returns> public static MvcForm BeginNiceForm(this HtmlHelper html, string formId) { return html.BeginNiceForm(null, null, formId, FormMethod.Post); }
/// <summary> /// Creates a nice form /// </summary> /// <param name="html">The Current HtmlHelper Instance</param> /// <param name="action">The action to post to</param> /// <param name="controller">The controller to post to</param> /// <param name="formId">The id of the form</param> /// <returns>An MvcForm</returns> public static MvcForm BeginNiceForm(this HtmlHelper html, string action, string controller, string formId) { return html.BeginNiceForm(action, controller, formId, FormMethod.Post); }
/// <summary> /// Creates a nice form /// </summary> /// <param name="html">The Current HtmlHelper Instance</param> /// <returns>An MvcForm</returns> public static MvcForm BeginNiceForm(this HtmlHelper html) { return html.BeginNiceForm(null, null, null, FormMethod.Post); }