A newer version of this page is available. Switch to the current version.

ASPxWebControl.SetIECompatibilityMode(Int32, Control) Method

Obsolete. Switches all DevExpress controls on the specified page to use the specified IE version.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


[Obsolete("Use another overload of this method instead.")]
public static void SetIECompatibilityMode(
    int IEVersion,
    Control pageOrMasterPage
<Obsolete("Use another overload of this method instead.")>
Public Shared Sub SetIECompatibilityMode(
    IEVersion As Integer,
    pageOrMasterPage As Control


Name Type Description
IEVersion Int32

An integer value that specifies the Internet Explorer browser version.

pageOrMasterPage Control

A Control object that specifies a web page (or master page) whose response renders the X-UA-Compatible header.