EnableUnobtrusiveJavaScript Method (Boolean)
Collapse the table of content
Expand the table of content

HtmlHelper.EnableUnobtrusiveJavaScript Method (Boolean)

Enables or disables unobtrusive JavaScript.

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

public void EnableUnobtrusiveJavaScript(
	bool enabled
)

Parameters

enabled
Type: System.Boolean

true to enable unobtrusive JavaScript; otherwise, false.

Show:
© 2016 Microsoft