DashboardConfigurator.VerifyClientTrustLevel Event
Allows you to verify the trust level used to specify which actions a client can initiate to execute them on a server side.
Namespace: DevExpress.DashboardWeb
Assembly: DevExpress.Dashboard.v20.2.Web.dll
NuGet Package: DevExpress.Web.Dashboard.Common
Declaration
Event Data
The VerifyClientTrustLevel event's data class is VerifyClientTrustLevelEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
ClientTrustLevel | Gets or sets the trust level that specifies which actions a client can initiate to execute them on a server side. |
Remarks
Important
To learn how to use the DashboardConfigurator‘s API, see the Server-Side API Overview topic.
Handle the VerifyClientTrustLevel event to prevent inadvertent or unauthorized modifications to dashboards stored on a server. To do this, set the VerifyClientTrustLevelEventArgs.ClientTrustLevel event parameter to ClientTrustLevel.Restricted. Note that this trust level is useful when the ASPxDashboard.WorkingMode/DashboardExtensionSettings.WorkingMode is set to WorkingMode.Viewer.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the VerifyClientTrustLevel event.
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.