dashboard-js-devexpress-dot-dashboard-e91c147c.md
A Web Dashboard extension that displays a dashboard state in the url.
export class UrlStateExtension extends DisposableObject implements IExtension
Warning
This extension is in effect only on the ASP.NET Core, ASP.NET MVC, and ASP.NET Web Forms platforms and is not compatible with Angular, React, Vue, and Blazor applications.
To configure the extension, refer to the UrlStateExtensionOptions class that contains options of the Url State extension.
See the following topic for information on how to use the DashboardControl’s client-side API: Extensions Overview.
IExtension
DisposableObject UrlStateExtension
Initializes a new instance of the UrlStateExtension class.
constructor(
dashboardControl: DevExpress.Dashboard.DashboardControl,
options?: UrlStateExtensionOptions
)
| Name | Type | Description |
|---|---|---|
| dashboardControl | DashboardControl |
A Web Dashboard control that owns the extension.
| | options | UrlStateExtensionOptions |
A UrlStateExtensionOptions object that contains the extension’s options.
|
Specifies the unique extension name.
name: string
| Type | Description |
|---|---|
| string |
The unique extension name. The return value is urlState.
|
Use the urlState name in the following cases:
Warning
Do not change the unique name of the extension registered in the Web Dashboard to avoid exceptions.
Contains code that is executed when you register the dashboard extension.
start(): void
Contains code that is executed when you unregister the dashboard extension.
stop(): void