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

ASPxWebControl.SetIECompatibilityModeEdge(Control) Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


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


Name Type Description
pageOrMasterPage Control

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


A call to the SetIECompatibilityModeEdge method changes the rendering manner of all DevExpress controls within a page, to ensure that they behave correctly under the specified IE version.


This overload is not applicable to the ASP.NET MVC environment, because there is no such Page object in MVC as opposed to ASP.NET WebForms.

The universal approach for working with the SetIECompatibilityMode