FormExtensions.EndForm Method (HtmlHelper)


Renders the closing </form> tag to the response.

Namespace:   System.Web.Mvc.Html
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public static void EndForm(
	this HtmlHelper htmlHelper


Type: System.Web.Mvc.HtmlHelper

The HTML helper instance that this method extends.

This method provides an alternative way to end the form instead of using a using block when you call the BeginForm and BeginForm methods.

Return to top