Name
<pages>
Synopsis
<pages buffer=boolean enableSessionState="true|false|ReadOnly” enableViewState=boolean enableViewStateMac=boolean autoEventWireup=boolean smartNavigation=boolean pageBaseType=typeInfo userControlBaseType=typeInfo />
Contains attributes used to configure the default settings for
ASP.NET pages and user controls. These settings can be overridden by
attributes on the @
Page
or
@
Control
directive.
Scope
Any
Attributes
-
buffer
Specifies whether buffering of page output is on or off. The default is
True
.-
enableSessionState
Specifies whether a page has access to the Session state module. Acceptable values include
True
,False
, andReadOnly
. The default isTrue
.-
enableViewState
Specifies whether ViewState is enabled at the page level. The default is
True
.-
enableViewStateMac
Specifies at the page level whether a machine authentication check (MAC) is performed on the ViewState hidden field. This specification can help identify client-side tampering with the ViewState. The default is
True
.-
autoEventWireup
Specifies whether ASP.NET will automatically support specific page events, such as Page_Load. The default is
True
.-
smartNavigation
Specifies whether the Smart Navigation feature, for which IE 5 or above provides support for posting back and refreshing only portions of a page, is turned on at the page level. The default is
False
.-
pageBaseType
Specifies the base class from which all pages are derived. The default is
System.Web.UI.Page
.-
userControlBaseType
Specifies the ...
Get ASP.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.