WebPageRenderingBase Class

Definition

Provides methods and properties that are used to render pages that use the Razor view engine.

public abstract class WebPageRenderingBase : System.Web.WebPages.WebPageExecutingBase, System.Web.WebPages.ITemplateFile
type WebPageRenderingBase = class
    inherit WebPageExecutingBase
    interface ITemplateFile
Public MustInherit Class WebPageRenderingBase
Inherits WebPageExecutingBase
Implements ITemplateFile
Inheritance
WebPageRenderingBase
Derived
Implements

Constructors

WebPageRenderingBase()

Initializes a new instance of the WebPageRenderingBase class.

Properties

App (Inherited from WebPageExecutingBase)
AppState (Inherited from WebPageExecutingBase)
Cache
Context

When overridden in a derived class, gets or sets the HttpContextBase object that is associated with a page.

(Inherited from WebPageExecutingBase)
Culture
DisplayMode
IsAjax
IsPost
Layout

When overridden in a derived class, gets or sets the path of a layout page.

Page

When overridden in a derived class, provides property-like access to page data that is shared between pages, layout pages, and partial pages.

PageContext
PageData

When overridden in a derived class, provides array-like access to page data that is shared between pages, layout pages, and partial pages.

Profile
Request
Response
Server
Session
TemplateInfo
UICulture
UrlData
User
VirtualPath (Inherited from WebPageExecutingBase)
VirtualPathFactory (Inherited from WebPageExecutingBase)

Methods

BeginContext(Int32, Int32, Boolean) (Inherited from WebPageExecutingBase)
BeginContext(String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase)
BeginContext(TextWriter, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase)
BeginContext(TextWriter, String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase)
EndContext(Int32, Int32, Boolean) (Inherited from WebPageExecutingBase)
EndContext(String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase)
EndContext(TextWriter, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase)
EndContext(TextWriter, String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase)
Execute() (Inherited from WebPageExecutingBase)
ExecutePageHierarchy()

When overridden in a derived class, calls the methods that are used to initialize the page.

GetOutputWriter()

Returns the text writer instance that is used to render the page.

(Inherited from WebPageExecutingBase)
Href(String, Object[]) (Inherited from WebPageExecutingBase)
NormalizeLayoutPagePath(String) (Inherited from WebPageExecutingBase)
NormalizePath(String) (Inherited from WebPageExecutingBase)
RenderPage(String, Object[])

When overridden in a derived class, renders a web page.

Write(HelperResult)

Writes the specified HelperResult object as an HTML-encoded string.

(Inherited from WebPageExecutingBase)
Write(Object)

Writes the string representation of the specified object as an HTML-encoded string.

(Inherited from WebPageExecutingBase)
WriteAttribute(String, PositionTagged<String>, PositionTagged<String>, AttributeValue[]) (Inherited from WebPageExecutingBase)
WriteAttributeTo(String, TextWriter, String, PositionTagged<String>, PositionTagged<String>, AttributeValue[]) (Inherited from WebPageExecutingBase)
WriteAttributeTo(TextWriter, String, PositionTagged<String>, PositionTagged<String>, AttributeValue[]) (Inherited from WebPageExecutingBase)
WriteLiteral(Object)

Writes the specified object without HTML encoding.

(Inherited from WebPageExecutingBase)

Applies to