ReportParametersPanelBuilder.ClientSideEvents(Action<ReportParametersPanelClientSideEventsBuilder>) Method
Allows you to handle client-side events specific to the Standalone Report Parameters Panel.
Namespace: DevExpress.AspNetCore.Reporting.ParametersPanel
Assembly: DevExpress.AspNetCore.Reporting.v24.1.dll
NuGet Package: DevExpress.AspNetCore.Reporting
Declaration
public ReportParametersPanelBuilder ClientSideEvents(
Action<ReportParametersPanelClientSideEventsBuilder> configure
)
Parameters
Name | Type | Description |
---|---|---|
configure | Action<ReportParametersPanelClientSideEventsBuilder> | A Action<T> delegate method that allows you to assign handlers to client-side events using methods exposed by the ReportParametersPanelClientSideEventsBuilder object that is passed as the delegate parameter. |
Returns
Type | Description |
---|---|
ReportParametersPanelBuilder | A ReportParametersPanelBuilder that can be used to further configure the Document Viewer. |
Remarks
The following code sample uses the ClientSideEvents
property to specify the BeforeRender
event handler:
var panelRender = Html.DevExpress().ReportParametersPanel("ParametersPanel")
.Height("100%")
.Width("750px")
.ClientSideEvents((configure) =>
{
configure.BeforeRender("BeforeRender");
})
.Bind(Model);
@panelRender.RenderHtml()
See Also