Skip to main content

ReportDesignerClientSideEventsBuilder Class

Enables you to specify handlers for the Web Report Designer‘s client-side events.

Namespace: DevExpress.AspNetCore.Reporting.ReportDesigner

Assembly: DevExpress.AspNetCore.Reporting.v23.1.dll

NuGet Package: DevExpress.AspNetCore.Reporting


public class ReportDesignerClientSideEventsBuilder


The ReportDesignerClientSideEventsBuilder class exposes methods whose names resamble client-side events of the Web Report Designer. You can pass handlers for the events via the methods’ parameter. To access a ReportDesignerClientSideEventsBuilder object, use the ClientSideEvents(Action<ReportDesignerClientSideEventsBuilder>) method of the ReportDesignerBuilder object.

The code below demonstrates how to handle the Web Report Designer’s CustomizeSaveDialog client-side event.

    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.CustomizeSaveDialog("customizeSaveDialog"); });


The client-side events that are raised by the Web Document Viewer that is built into the Web Report Designer are accessible via the ReportDesignerPreviewClientSideEventsBuilder object.


See Also