The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.1.dll


public class ReportDesignerClientSideEventsBuilder
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