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
NuGet Package: DevExpress.Web.Dashboard
#Declaration
[PersistenceMode(PersistenceMode.InnerProperty)]
public DashboardBackendOptions BackendOptions { get; }
#Property Value
Type | Description |
---|---|
Dashboard |
A Dashboard |
#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.