ASPxClientCustomizeLocalizationEventArgs Class
Provides data for the ASPxClientReportDesigner.CustomizeLocalization, ASPxClientWebDocumentViewer.CustomizeLocalization and ASPxClientQueryBuilder.CustomizeLocalization events.
Declaration
declare class ASPxClientCustomizeLocalizationEventArgs extends ASPxClientEventArgs
Remarks
ASPxClientCustomizeLocalizationEventArgs objects are automatically created, initialized and passed to corresponding event handlers.
Inheritance
constructor
Initializes a new instance of the ASPxClientCustomizeLocalizationEventArgs
class with the specified settings.
Declaration
constructor(
callbacks?: JQueryPromise<any>[]
)
Parameters
Name | Type | Description |
---|---|---|
callbacks | JQueryPromise<any>[] | Callbacks that return arrays with localization strings. |
Methods
LoadMessages(messages) Method
Loads the specified localization strings synchronously.
Declaration
LoadMessages(
messages: JQueryPromise<any> | any | null
): void
Parameters
Name | Type | Description |
---|---|---|
messages | JQueryPromise<any> | any | null | An object that provides localization strings. |
Remarks
Use the LoadMessages method to localize reporting controls in ASP.NET Core or JavaScript-based applications. This method allows you to load JSON files obtained from the DevExpress Localization Service.
See the Localization topic for more information.