Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

webControls Element (ASP.NET Settings Schema)

Specifies the shared location of the client script files.

<webControls clientScriptsLocation="String" />

The following sections describe attributes, child elements, and parent elements.


Attribute Description


Required String attribute.

Sets the client scripts location.

Default value is "/aspnet_client/{0}/{1}/".

Child Elements


Parent Elements

Element Description


The required root element in every configuration file used by the common language runtime and .NET Framework applications.


Specifies the root element for the ASP.NET configuration settings in a configuration file. Contains configuration elements that configure ASP.NET Web applications and control how the applications behave.

The following default webControls element is configured in the machine configuration file in the .NET Framework versions 1.0 and 1.1.

<webControls clientScriptsLocation="/aspnet_client/{0}/{1}/"/>

The following default webControls element is configured in the root Web.config file in the .NET Framework version 2.0.

<webControls clientScriptsLocation="/aspnet_client/{0}/{1}/" />

The following example sets the shared location of the client script files for an ASP.NET application.

<webControls clientScriptsLocation="/aspnet_client/{0}/{1}/" />

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

Configuration Section Handler


Configuration Member


Configurable Locations


Root level Web.config

Application level Web.config

Virtual or physical directory level Web.config


IIS 5.0, IIS 5.1, or IIS 6.0

.NET Framework 1.0, 1.1, or 2.0

Visual Studio 2003, or Visual Studio 2005

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.