System.Web
2.0.0.0
System.Configuration.ConfigurationElement
The class refers to elements that are added in the clientTarget section of the configuration file.
The class belongs to a group that includes the class and the class.
The class contains two properties identifying a client browser, also named user agent. One property is the alias associated with the client browser identified by the second property. ASP.NET uses this information to render server controls in a page.
For information about how the user agent or its alias is used programmatically, see the property. For information about how the user agent or its alias is used declaratively, see @ Page.
If the property is not set, the object that is associated with the property reflects the capabilities of the client browser. (It reflects the capabilities of the browser type, but not necessarily the settings in a specific instance of that browser.) If the property is set, the client browser detection is disabled and the page uses browser capabilities that are associated with the user agent string that you define. You can set this property to any valid user agent string.
Defines the alias associated with the target user agent for which ASP.NET server controls should render content. This class cannot be inherited.
Constructor
To be added.
Initializes a new instance of the class.
The name used to refer to a specific user agent.
The user agent's identification name.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("alias", Options=System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)
System.Configuration.StringValidator(MinLength=1)
System.String
To be added.
The property refers to the alias attribute of the add element in the clientTarget section of the configuration file.
The ASP.NET configuration defaults include the following aliases:
-
uplevel, which tells ASP.NET to send HTML and ECMAScript that is supported by Internet Explorer 6.0 and later versions.
-
downlevel, which tells ASP.NET to limit the HTML and script to the versions that are supported by browsers earlier than Internet Explorer 6.0.
Gets the user agent's alias.
2.0.0.0
Property
System.Configuration.ConfigurationPropertyCollection
To be added.
To be added.
To be added.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("userAgent", Options=System.Configuration.ConfigurationPropertyOptions.IsRequired)
System.Configuration.StringValidator(MinLength=1)
System.String
To be added.
The property refers to the userAgent attribute of the add element in the clientTarget section of the configuration file.
The ASP.NET configuration defaults allow customizing pages for various Microsoft Internet Explorer versions. Among them you find the alias uplevel, which tells ASP.NET to send the client HTML and ECMAScript supported by Internet Explorer 4.0 and later, and downlevel, which tells ASP.NET to limit the HTML and script to that supported by earlier browsers than Internet Explorer 4.0.
Gets the user agent's identification name.
2.0.0.0