WebControlsSection Class [IIS 7 and higher]

Specifies the shared location of client script files.

Syntax

class WebControlsSection : ConfigurationSection

Methods

The following table lists the methods exposed by the WebControlsSection class.

Name

Description

GetAllowDefinition

(Inherited from ConfigurationSection.)

GetAllowLocation

(Inherited from ConfigurationSection.)

RevertToParent

(Inherited from ConfigurationSection.)

SetAllowDefinition

(Inherited from ConfigurationSection.)

SetAllowLocation

(Inherited from ConfigurationSection.)

Properties

The following table lists the properties exposed by the WebControlsSection class.

Name

Description

ClientScriptsLocation

A required read/write string value that specifies the location for client scripts. The default is "/aspnet_client/{0}/{1}/."

NoteNote:
The "{0}" will be replaced with the namespace name (for example, system_web), and the "{1}" will be replaced with the .NET Framework version number.

Location

(Inherited from ConfigurationSection.) A key property.

Path

(Inherited from ConfigurationSection.) A key property.

SectionInformation

(Inherited from ConfigurationSection.)

Subclasses

This class contains no subclasses.

Inheritance Hierarchy

ConfigurationSection

   WebControlsSection

Requirements

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

See Also

Reference

ConfigurationSection Class [IIS 7 and higher]

SystemWebSectionGroupWebControls()()()()

Other Resources

webControls Element (ASP.NET Settings Schema)