DashboardExtensionSettings.WorkingMode Property
Gets or sets the working mode of the Web Dashboard.
Namespace: DevExpress.DashboardWeb.Mvc
Assembly: DevExpress.Dashboard.v24.1.Web.Mvc5.dll
NuGet Package: DevExpress.Web.Mvc5.Dashboard
Declaration
Property Value
Type | Description |
---|---|
WorkingMode | A WorkingMode enumeration value that specifies the working mode of the Web Dashboard. |
Available values:
Name | Description |
---|---|
Designer | The Web Dashboard acts as a Dashboard Designer and allows end users to create, edit, and save dashboards. You can switch to Viewer mode on the client side from this mode. |
Viewer | The Web Dashboard acts as a Dashboard Viewer and allows you to display dashboards to end users. You can switch to Designer mode on the client side from this mode. |
ViewerOnly | The Web Dashboard acts as a Dashboard Viewer without the capability to switch to Designer mode on the client side. In this mode, the Web Dashboard does not load the extensions required for designing dashboards. |
Remarks
You can use the ASPxClientDashboard.SwitchToViewer/ASPxClientDashboard.SwitchToDesigner methods to switch between working modes of the Web Dashboard on the client side.
In WorkingMode.Viewer mode, you can use API to modify dashboards from a storage on the client. The client-side API allows you to switch between the WorkingMode.Viewer and WorkingMode.Designer modes. For more information on how to protect dashboards stored on a server, see Security Considerations.