Back to Devexpress

ASPxDashboard.WorkingMode Property

dashboard-devexpress-dot-dashboardweb-dot-aspxdashboard-9db27a17.md

latest4.1 KB
Original Source

ASPxDashboard.WorkingMode Property

Gets or sets a working mode of the ASPxDashboard control.

Namespace : DevExpress.DashboardWeb

Assembly : DevExpress.Dashboard.v25.2.Web.WebForms.dll

NuGet Package : DevExpress.Web.Dashboard

Declaration

csharp
[DefaultValue(WorkingMode.Designer)]
public WorkingMode WorkingMode { get; set; }
vb
<DefaultValue(WorkingMode.Designer)>
Public Property WorkingMode As WorkingMode

Property Value

TypeDefaultDescription
WorkingModeDesigner

A WorkingMode enumeration value that specifies a working mode of the ASPxDashboard control.

|

Available values:

NameDescription
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 ASPxDashboard 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.

See Also

ASPxDashboard Class

ASPxDashboard Members

DevExpress.DashboardWeb Namespace