Skip to main content

ASPxDashboard.BackendOptions Property

Specifies options that allow you to configure the Web Dashboard’s back-end.

Namespace: DevExpress.DashboardWeb

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

Declaration

[PersistenceMode(PersistenceMode.InnerProperty)]
public DashboardBackendOptions BackendOptions { get; }

Property Value

Type Description
DashboardBackendOptions

A DashboardBackendOptions object that contains the Web Dashboard’s back-end options.

Remarks

Use the BackendOptions property to specify server settings for the client dashboard application.

The code sample below shows how to configure the client: to set the server’s url and pass a custom Authorization header. Note that the Uri value should consist of a base URL where the Web Dashboard’s server side is hosted and the Dashboard HTTP handler’s url (instead of the controller’s address in MVC):

DashboardControl.BackendOptions.Uri = "{baseURL}/DXDD.axd";
DashboardControl.BackendOptions.RequestHttpHeaders.Add("Authorization", "AuthToken123");

Refer to DashboardBackendOptions for a detailed description.

For ASP.NET MVC, use the BackendOptions property.

See Also