StartPage Class

Definition

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

public abstract class StartPage : System.Web.WebPages.WebPageRenderingBase
type StartPage = class
    inherit WebPageRenderingBase
Public MustInherit Class StartPage
Inherits WebPageRenderingBase
Inheritance
Derived

Constructors

StartPage()

Initializes a new instance of the StartPage class.

Properties

App (Inherited from WebPageExecutingBase)
AppState (Inherited from WebPageExecutingBase)
Cache (Inherited from WebPageRenderingBase)
ChildPage

Gets or sets the child page of the current start page.

Context

Gets or sets the context of the ChildPage page.

Culture (Inherited from WebPageRenderingBase)
DisplayMode (Inherited from WebPageRenderingBase)
IsAjax (Inherited from WebPageRenderingBase)
IsPost (Inherited from WebPageRenderingBase)
Layout

Gets or sets the path of the layout page for the ChildPage page.

Page

Gets property-like access to ChildPage page data that is shared between pages, layout pages, and partial pages.

PageContext (Inherited from WebPageRenderingBase)
PageData

Gets array-like access to ChildPage page data that is shared between pages, layout pages, and partial pages.

Profile (Inherited from WebPageRenderingBase)
Request (Inherited from WebPageRenderingBase)
Response (Inherited from WebPageRenderingBase)
Server (Inherited from WebPageRenderingBase)
Session (Inherited from WebPageRenderingBase)
TemplateInfo (Inherited from WebPageRenderingBase)
UICulture (Inherited from WebPageRenderingBase)
UrlData (Inherited from WebPageRenderingBase)
User (Inherited from WebPageRenderingBase)
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()

Calls the methods that are used to execute the developer-written code in the _PageStart start page and in the ChildPage page.

GetOutputWriter()

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

GetStartPage(WebPageRenderingBase, String, IEnumerable<String>)

Returns the initialization page for the specified page.

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

Renders the ChildPage page.

RunPage()

Executes the developer-written code in the ChildPage page.

Write(HelperResult)

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

Write(Object)

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

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 string representation of the specified object without HTML encoding.

Applies to