Export (0) Print
Expand All

Pages and Controls Page

Applies To: Windows Server 2008 R2

Use the Pages and Controls feature page to configure the settings of ASP.NET pages and controls. These settings control the behavior of ASP.NET pages, set how ASP.NET pages and controls will be compiled on the server, define the namespaces that are included for each page, and define the session state and validation services settings.

Use the Display list to select one of the following options that specifies how the settings are displayed: Friendly Names, Configuration Names, or Both Names.

UI Element List

The following tables describe the UI elements that are available on the feature page and in the Actions pane.

Feature Page Elements

 

Element Name Description

Buffer [buffer]

Sets a value (true or false) that specifies whether .aspx pages and .ascx controls use response buffering. The default setting is True.

Master Page File [masterPageFile]

Specifies the master page path relative to the local configuration file.

Style Sheet Theme [styleSheetTheme]

Specifies the name of the "named theme" folder that will be used to apply the theme before control declarations. This differs from the theme attribute, which defines the theme to apply after the control declarations.

Theme [theme]

Specifies the name of the theme that is used for the pages that are in the scope of the configuration file. The specified theme must exist as either an application or a global theme. If the theme does not exist, an HttpException exception is thrown.

Enable Authenticated View State [enableViewStateMAC]

Sets a value (true or false) that specifies whether ASP.NET should run a message authentication code (MAC) on the page's view state when the page is posted back from the client. The default setting is True.

Enable View State [enableViewState]

Sets a value (true or false) that indicates whether view state is enabled, disabled, or read only. The default setting is True.

Maximum Page State Field Length [maxPageStateFieldLength]

Sets the maximum number of characters that a single view-state field can contain.

Base Type for Pages [pageBaseType]

Specifies the base type to use when the pages are stand-alone only. This is overridden by the inherits attribute in a stand-alone file.

Base Type for User Controls [userControlBaseType]

Specifies a code-behind class that user controls inherit by default.

Compilation Mode [compilationMode]

Specifies whether an ASP.NET page or control should be compiled at run time.

Namespaces [namespaces]

Defines a collection of import directives to use during assembly pre-compilation.

Enable Session State [enableSessionState]

Sets a value (true or false) that specifies whether the session state is enabled, disabled, or read-only. The default setting is True.

Validate Request [validateRequest]

Sets a value (true or false) that determines whether ASP.NET examines input from the browser for dangerous values. The default setting is True.

Actions Pane Elements

 

Element Name Description

Apply

Saves the changes that you have made on the feature page.

Cancel

Cancels the changes that you have made on the feature page.

Register Controls

Opens the Controls feature page from which you can add and edit custom controls.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft