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 |
---|---|
Dx |
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 | Nu |
---|---|---|
0 | DevExpress. | |
150 | DevExpress. | |
200 | DevExpress. | |
300 | DevExpress. | |
400 |
| DevExpress. |
500 | DevExpress. | |
600 | DevExpress. | |
700 | DevExpress. | |
700 | DevExpress. | |
800 | DevExpress. | |
800 | DevExpress. |
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.