Wizard: Conversion from ASPX to HTML and TypeScript
The following tables will help you to convert the ASPX elements that are related to the wizard control to HTML or TypeScript elements.
PXWizard
The following table shows the correspondence between the PXWizard element and the HTML or TypeScript elements. During the conversion of ASPX pages to HTML and TypeScript, you need to replace these ASPX elements with their analogs in HTML or TypeScript.
| ASPX | HTML or TypeScript |
|---|---|
PXWizard |
Use the qp-wizard tag in
HTML. |
ID |
Use the id property of the qp-wizard
tag. |
DataMember |
Instead of specifying a single view for the whole wizard, specify views for the
controls in each step of the wizard—that is, the qp-tab
tags. |
NextCommand, PrevCommand, CancelCommand, and SaveCommand
The following table shows the correspondence between the actions associated with buttons (NextCommand, PrevCommand, CancelCommand, and SaveCommand) and the HTML or TypeScript elements. During the conversion of ASPX pages to HTML and TypeScript, you need to replace these ASPX elements with their analogs in HTML or TypeScript.
| ASPX | HTML or TypeScript |
|---|---|
|
To override the standard actions, do the following:
|
Obsolete ASPX Controls and Properties
The following table lists the obsolete ASPX elements that are related to the wizard control. You do not need to replace these ASPX elements with any HTML or TypeScript elements.
| ASPX Control | Properties |
|---|---|
| PXWizard |
|
| Pages | The entire control is obsolete. The steps of the wizard are defined by a set of qp-tab tags. |
| PXWizardPage | The entire control is obsolete. For each step of the wizard, use the qp-tab tag. |
|
Target |
Caption of the Wizard and Steps
The following table lists the correspondence between the ASPX elements that were used to specify the caption of the wizard and its step and the properties in the Modern UI.
| ASPX Control | Properties |
|---|---|
PXSmarPanel >
Caption |
To specify the caption of the wizard, use the caption
property of the IWizardConfig interface.
|
PXLabel |
To specify the caption of a step, use the caption attribute
of the qp-tab tag. Do not specify the Step N of M prefix;
it is calculated and added automatically to the provided
caption. |
