The properties of System.Web.UI.Page are listed below. For a list of all members, see the Page Members list.
See Also: Inherited members from System.Web.UI.TemplateControl
[read-only] | Application | System.Web.HttpApplicationState.
Gets the System.Web.HttpApplicationState object for the current Web request. |
AsyncTimeout | TimeSpan.
Gets or sets a value indicating the time-out interval used when processing asynchronous tasks. | |
Buffer | bool.
Sets a value indicating whether the page output is buffered. | |
[read-only] | Cache | System.Web.Caching.Cache.
Gets the System.Web.Caching.Cache object associated with the application in which the page resides. |
[read-only] | ClientQueryString | string.
Gets the query string portion of the requested URL. |
[read-only] | ClientScript | ClientScriptManager.
Gets a System.Web.UI.ClientScriptManager object used to manage, register, and add script to the page. |
ClientTarget | string.
Gets or sets a value that allows you to override automatic detection of browser capabilities and to specify how a page is rendered for particular browser clients. | |
CodePage | int.
Sets the code page identifier for the current System.Web.UI.Page. | |
ContentType | string.
Sets the HTTP MIME type for the System.Web.HttpResponse object associated with the page. | |
Culture | string.
Sets the culture ID for the System.Threading.Thread object associated with the page. | |
EnableEventValidation | bool.
Gets or sets a value indicating whether the page validates postback and callback events. | |
override | EnableViewState | bool.
Gets or sets a value indicating whether the page maintains its view state, and the view state of any server controls it contains, when the current page request ends. |
EnableViewStateMac | bool.
Gets or sets a value indicating whether ASP.NET should check message authentication codes (MAC) in the page's view state when the page is posted back from the client. | |
ErrorPage | string.
Gets or sets the error page to which the requesting browser is redirected in the event of an unhandled page exception. | |
[read-only] | Form | System.Web.UI.HtmlControls.HtmlForm.
Gets the HTML form for the page. |
[read-only] | Header | System.Web.UI.HtmlControls.HtmlHead.
Gets the document header for the page if the head element is defined with a runat=server in the page declaration. |
override | ID | string.
Gets or sets an identifier for a particular instance of the System.Web.UI.Page class. |
[read-only] | IdSeparator | char.
Gets the character used to separate control identifiers when building a unique ID for a control on a page. |
[read-only] | IsAsync | bool.
Gets a value indicating whether the page is processed asynchronously. |
[read-only] | IsCallback | bool.
Gets a value that indicates whether the page request is the result of a callback. |
[read-only] | IsCrossPagePostBack | bool.
Gets a value indicating whether the page is involved in a cross-page postback. |
[read-only] | IsPostBack | bool.
Gets a value that indicates whether the page is being rendered for the first time or is being loaded in response to a postback. |
[read-only] | IsReusable | bool.
Gets a value indicating whether the System.Web.UI.Page object can be reused. |
[read-only] | IsValid | bool.
Gets a value indicating whether page validation succeeded. |
[read-only] | Items | IDictionary.
Gets a list of objects stored in the page context. |
LCID | int.
Sets the locale identifier for the System.Threading.Thread object associated with the page. | |
MaintainScrollPositionOnPostBack | bool.
Gets or sets a value indicating whether to return the user to the same position in the client browser after postback. This property replaces the obsolete Page.SmartNavigation property. | |
[read-only] | Master | MasterPage.
Gets the master page that determines the overall look of the page. |
MasterPageFile | string.
Gets or sets the virtual path of the master page. | |
MaxPageStateFieldLength | int.
Gets or sets the maximum length for the page's state field. | |
[read-only] | PageAdapter | System.Web.UI.Adapters.PageAdapter.
Gets the adapter that renders the page for the specific requesting browser. |
[read-only] | PreviousPage | Page.
Gets the page that transferred control to the current page. |
[read-only] | Request | System.Web.HttpRequest.
Gets the System.Web.HttpRequest object for the requested page. |
[read-only] | Response | System.Web.HttpResponse.
Gets the System.Web.HttpResponse object associated with the System.Web.UI.Page object. This object allows you to send HTTP response data to a client and contains information about that response. |
ResponseEncoding | string.
Sets the encoding language for the current System.Web.HttpResponse object. | |
[read-only] | Server | System.Web.HttpServerUtility.
Gets the Server object, which is an instance of the System.Web.HttpServerUtility class. |
[read-only] | Session | System.Web.SessionState.HttpSessionState.
Gets the current Session object provided by ASP.NET. |
SmartNavigation | bool.
Gets or sets a value indicating whether smart navigation is enabled. This property is deprecated. | |
StyleSheetTheme | string.
Gets or sets the name of the theme that is applied to the page early in the page life cycle. | |
Theme | string.
Gets or sets the name of the page theme. | |
Title | string.
Gets or sets the title for the page. | |
[read-only] | Trace | System.Web.TraceContext.
Gets the System.Web.TraceContext object for the current Web request. |
TraceEnabled | bool.
Sets a value indicating whether tracing is enabled for the System.Web.UI.Page object. | |
TraceModeValue | System.Web.TraceMode.
Sets the mode in which trace statements are displayed on the page. | |
UICulture | string.
Sets the user interface (UI) ID for the System.Threading.Thread object associated with the page. | |
[read-only] | User | System.Security.Principal.IPrincipal.
Gets information about the user making the page request. |
[read-only] | Validators | ValidatorCollection.
Gets a collection of all validation controls contained on the requested page. |
ViewStateEncryptionMode | ViewStateEncryptionMode.
Gets or sets the encryption mode of the view state. | |
ViewStateUserKey | string.
Assigns an identifier to an individual user in the view-state variable associated with the current page. | |
override | Visible | bool.
Gets or sets a value indicating whether the System.Web.UI.Page object is rendered. |
AspCompatMode | bool.
Sets a value indicating whether the page can be executed on a single-threaded apartment (STA) thread. | |
AsyncMode | bool.
Sets a value indicating whether the page is processed synchronously or asynchronously. | |
[read-only] override | Context | System.Web.HttpContext.
Gets the System.Web.HttpContext object associated with the page. |
[write-only] | FileDependencies | ArrayList.
Sets an array of files that the current System.Web.HttpResponse object is dependent upon. |
[read-only] | PageStatePersister | PageStatePersister.
Gets the System.Web.UI.PageStatePersister object associated with the page. |
TransactionMode | int.
Sets the level of transaction support for the page. | |
[read-only] | UniqueFilePathSuffix | string.
Gets a unique suffix to append to the file path for caching browsers. |