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.v24.2.dll
NuGet Package: DevExpress.AspNetCore.Reporting
Declaration
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.