xtrareports-devexpress-dot-aspnetcore-dot-reporting-dot-reportdesigner-dot-reportdesignerclientsideeventsbuilder-dot-customizewizard-x28-system-dot-string-x29.md
Sets the name of the JavaScript function or the entire code that will handle the Web Report Designer‘s CustomizeWizard client-side event.
Namespace : DevExpress.AspNetCore.Reporting.ReportDesigner
Assembly : DevExpress.AspNetCore.Reporting.v25.2.dll
NuGet Package : DevExpress.AspNetCore.Reporting
public ReportDesignerClientSideEventsBuilder CustomizeWizard(
string callback
)
Public Function CustomizeWizard(
callback As String
) As ReportDesignerClientSideEventsBuilder
| Name | Type | Description |
|---|---|---|
| callback | String |
The name of a JavaScript function or the entire JavaScript function code used to handle the CustomizeWizard event.
|
| Type | Description |
|---|---|
| ReportDesignerClientSideEventsBuilder |
A ReportDesignerClientSideEventsBuilder that can be used to further configure the Report Designer Client Side Events.
|
The CustomizeWizard event enables you to customize the Web Report Designer’s Report Wizard and Data Source Wizard.
The event’s argument has the following properties:
Type - to identify the wizard type.
Wizard - to access the wizard itself. Use the Wizard ‘s events collection to handle wizard events.
@{
var reportDesigner = Html.DevExpress().ReportDesigner("reportDesigner")
.Height("1000px")
.Bind("Report")
.ClientSideEvents(configure => { configure.CustomizeWizard("CustomizeWizard"); });
}
@reportDesigner
<script type="text/javascript">
function beforeInit(args) {
// ...
}
function CustomizeWizard(s, e) {
if (e.Type === "ReportWizard") {
e.Wizard.events.addHandler("beforeInitialize", beforeInit)
}
}
</script>
See Customize the Report Wizard and Data Source Wizard (ASP.NET Core) for more information.
See Also
ReportDesignerClientSideEventsBuilder Class