WebFormView Class

Definition

Represents the information that is needed to build a Web Forms page in ASP.NET MVC.

public class WebFormView : System.Web.Mvc.BuildManagerCompiledView
type WebFormView = class
    inherit BuildManagerCompiledView
Public Class WebFormView
Inherits BuildManagerCompiledView
Inheritance

Constructors

WebFormView(ControllerContext, String)

Initializes a new instance of the WebFormView class using the controller context and view path.

WebFormView(ControllerContext, String, String)

Initializes a new instance of the WebFormView class using the controller context, view path, and the path to the master page.

WebFormView(ControllerContext, String, String, IViewPageActivator)

Initializes a new instance of the WebFormView class using the controller context, view path, the path to the master page, and a IViewPageActivator instance.

Properties

MasterPath

Gets or sets the master path.

ViewPath

Gets or sets the view path.

(Inherited from BuildManagerCompiledView)

Methods

Render(ViewContext, TextWriter)

Renders the specified view context by using the specified the writer object.

(Inherited from BuildManagerCompiledView)
RenderView(ViewContext, TextWriter, Object)

Renders the view to the response.

Applies to