JavaScriptResult JavaScriptResult JavaScriptResult Class

Definition

Sends JavaScript content to the response.

public class JavaScriptResult : System.Web.Mvc.ActionResult
type JavaScriptResult = class
    inherit ActionResult
Public Class JavaScriptResult
Inherits ActionResult
Inheritance
JavaScriptResultJavaScriptResultJavaScriptResult

Constructors

JavaScriptResult() JavaScriptResult() JavaScriptResult()

Initializes a new instance of the JavaScriptResult class.

Properties

Script Script Script

Gets or sets the script.

Methods

ExecuteResult(ControllerContext) ExecuteResult(ControllerContext) ExecuteResult(ControllerContext)

Enables processing of the result of an action method by a custom type that inherits from the ActionResult class.

Applies to