WebControlsSection Class

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}/." Note: 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 - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
MOF file WebAdministration.mof

See Also

System.Web.Configuration.SystemWebSectionGroup.WebControls ConfigurationSection Class
webControls Element (ASP.NET Settings Schema)