System.Web.Configuration.ClientTarget.Alias Property

Gets the user agent's alias.

Syntax

[System.Configuration.ConfigurationProperty("alias", Options=System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)]
[System.Configuration.StringValidator(MinLength=1)]
public string Alias { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ClientTarget.Alias 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.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0