ReportDesignerClientSideEventsBuilder.CustomizeLocalization(String) Method

Sets the name of the JavaScript function or the entire code that will handle the Web Report Designer's CustomizeLocalization client-side event.

Namespace: DevExpress.AspNetCore.Reporting.ReportDesigner

Assembly: DevExpress.AspNetCore.Reporting.v18.2.dll


public ReportDesignerClientSideEventsBuilder CustomizeLocalization(
    string callback
Public Function CustomizeLocalization(
    callback As String
) As ReportDesignerClientSideEventsBuilder


Type Name Description
String callback

The name of a JavaScript function or the entire JavaScript function code used to handle the CustomizeLocalization event.


Type Description

A ReportDesignerClientSideEventsBuilder that can be used to further configure the Report Designer Client Side Events.


The CustomizeLocalization event enables you to customize the Web Report Designer's localization strings. When implementing a handling function, use the ClientReportDesigner object passed as a parameter. This object exposes the UpdateLocalization method that allows you to substitute particular localization strings with custom ones, as shown below.

    var designer = Html.DevExpress().ReportDesigner("reportDesigner1").Height("1000px")
        .DataSources(configureDS => { foreach (var ds in Model.DataSources) { configureDS.Add(ds.Key, ds.Value); } })
        .ClientSideEvents(configure => { configure.CustomizeLocalization("customizeLocalization"); });
See Also