Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

public class ReportDesignerClientSideEventsBuilder

The following members return ReportDesignerClientSideEventsBuilder objects:

Show 25 links

#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