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.v18.2.dll

Declaration

public class ReportDesignerClientSideEventsBuilder
Public Class ReportDesignerClientSideEventsBuilder

Remarks

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")
        .Bind(Model.Report)
        .DataSources(configureDS => { foreach (var ds in Model.DataSources) { configureDS.Add(ds.Key, ds.Value); } })
        .ClientSideEvents(configure => { configure.CustomizeSaveDialog("customizeSaveDialog"); });
}
@designer


Note

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.

Inheritance

Object
ReportDesignerClientSideEventsBuilder
See Also