PagesSection.ControlRenderingCompatibilityVersion PagesSection.ControlRenderingCompatibilityVersion PagesSection.ControlRenderingCompatibilityVersion PagesSection.ControlRenderingCompatibilityVersion Property

Definition

Gets or sets a value that specifies the ASP.NET version that any rendered HTML will be compatible with.

public:
 property Version ^ ControlRenderingCompatibilityVersion { Version ^ get(); void set(Version ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Web.Configuration.VersionConverter))]
[System.Configuration.ConfigurationProperty("controlRenderingCompatibilityVersion", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.ConfigurationValidator(typeof(System.Web.Configuration.VersionValidator))]
public Version ControlRenderingCompatibilityVersion { get; set; }
member this.ControlRenderingCompatibilityVersion : Version with get, set
Public Property ControlRenderingCompatibilityVersion As Version

Property Value

The ASP.NET version that any rendered HTML will be compatible with.

Exceptions

Remarks

This value is set by the controlRenderingCompatibilityVersion attribute of the pages element in the Web.config file. The value of this property is the default value for the Control.RenderingCompatibility property. For information about how it is used, see the Control.RenderingCompatibility property.

Applies to

See also