Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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
© 2015 Microsoft