Skip to main content
.NET Framework 4.6.2+
  • The page you are viewing does not exist in the .NET 8.0+ platform documentation. This link will take you to the parent topic of the current section.

WebApplication.EnableMultipleBrowserTabsSupport Property

Specifies whether or not support for multiple browser tabs is enabled.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v24.2.dll

NuGet Package: DevExpress.ExpressApp.Web

Declaration

public static bool EnableMultipleBrowserTabsSupport { get; set; }

Property Value

Type Description
Boolean

true, if support for multiple browser tabs is enabled; otherwise, false.

Remarks

When the EnableMultipleBrowserTabsSupport is set to true, each loaded web window has a unique identifier within the ASP.NET Web Forms session. Use these window identifiers to ensure all requests are correctly routed on the server side. Additionally, navigation items are rendered as hyperlinks (with the “open link in new tab” option). Hyperlinks are generated only for navigation items corresponding to ChoiceActionItem objects whose ChoiceActionItem.Data property holds a ViewShortcut object pointing to a particular View to be opened. When a navigation item is processed without supplying a View shortcut is applied (for example, using the ShowNavigationItemController.CustomShowNavigationItem event), no hyperlink is generated for this item.

Since v20.2, the default EnableMultipleBrowserTabsSupport property value is true because the Solution Wizard generates new projects with the FrameworkSettings.DefaultSettingsCompatibilityMode property set to Latest.

Alternatively, to change the value of the property manually, add the following code to the WebApplication.cs (WebApplication.vb) file:

public partial class MySolutionAspNetApplication : WebApplication {
    //...
    static MySolutionAspNetApplication() {
        WebApplication.EnableMultipleBrowserTabsSupport = true;
        // ...
    }
}

The following code snippets (auto-collected from DevExpress Examples) contain references to the EnableMultipleBrowserTabsSupport property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also