The requested page is not available for the requested platform. You are viewing the content for Default platform.

WebApplication.EnableMultipleBrowserTabsSupport Property

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

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v19.1.dll

Declaration

public static bool EnableMultipleBrowserTabsSupport { get; set; }
Public Shared Property EnableMultipleBrowserTabsSupport As Boolean

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 session. By using these window identifiers, 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 (e.g., using the ShowNavigationItemController.CustomShowNavigationItem event), no hyperlink is generated for this item.

The EnableMultipleBrowserTabsSupport default value is false in XAF sources, but it is changed to true in the WebApplication.cs (WebApplication.vb) code generated by the Solution Wizard:

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

You can use the same code to enable multiple browser tab support in projects created in older versions of XAF.

See Also