CommonResources.AceLanguageToolsJS Field
Returns an identifier for the Ace Language Tools client script.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.Resources.v24.2.dll
NuGet Package: DevExpress.Blazor.Resources
Declaration
public static readonly DxResource AceLanguageToolsJS
Field Value
Type | Description |
---|---|
DxResource | The Ace Language Tools script. |
Remarks
The Ace Language Tools 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 Language Tools 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 Ace Language Tools.
@DxResourceManager.RegisterScripts((config) => {
config.Unregister(CommonResources.AceLanguageToolsJS);
})
Refer to the following topic for more information: DxResourceManager.