System.Web.Configuration.XhtmlConformanceSection.Mode Property

Gets or sets the XhtmlConformanceSection.Mode property.

Syntax

[System.Configuration.ConfigurationProperty("mode", DefaultValue="Transitional")]
public XhtmlConformanceMode Mode { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

By default, when you are working with browsers that support HTML 4.0 or later, ASP.NET pages and controls render markup that is compatible with the XHTML 1.0 Transitional standard. However, under some circumstances, you might not want ASP.NET to render XHTML markup. This is typically true when you have existing pages that rely on tags or attributes that would ordinarily be prohibited by XHTML.

Requirements

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