CommonResources.AceJS Field
Returns an identifier for the Ace client script.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.Resources.v24.2.dll
NuGet Package: DevExpress.Blazor.Resources
Declaration
public static readonly DxResource AceJS
Field Value
Type | Description |
---|---|
DxResource | The Ace script. |
Remarks
The Ace script is required for Blazor Dashboard and Report Designer components. The Resource Manager automatically registers this script if your project includes the DevExpress.Blazor.Dashboard or DevExpress.Blazor.Reporting.JSBasedControls NuGet package.
The following table lists public DevExpress resources, their positions among other scripts, and NuGet packages that include these scripts:
Position | DevExpress Resource | NuGet Packages |
---|---|---|
0 | DevExpress.Blazor.Dashboard | |
150 | DevExpress.Blazor | |
200 | DevExpress.Blazor | |
300 | DevExpress.Blazor.Dashboard | |
400 |
| DevExpress.Blazor.Dashboard |
500 | DevExpress.Blazor.Dashboard | |
600 | DevExpress.Blazor.Dashboard | |
700 | DevExpress.Blazor.Reporting.JSBasedControls | |
700 | DevExpress.Blazor.Dashboard | |
800 | DevExpress.Blazor.Reporting.JSBasedControls | |
800 | DevExpress.Blazor.Dashboard |
The following example unregisters the Ace resource. It’s unnecessary if your application does not use a Dashboard or Report Designer. Note that the project can still include a Report Viewer since it does not require the Ace script.
@DxResourceManager.RegisterScripts((config) => {
config.Unregister(CommonResources.AceJS);
})
Refer to the following topic for more information: DxResourceManager.