IWizardTemplate Methods |
The IWizardTemplate type exposes the following members.
Name | Description | |
---|---|---|
ActionScript(String) |
Generate action script for the specified action. If the specified action is set on the page
then script is generated for it. If not, a null/empty string is returned.
| |
ActionScript(String, String, String) |
Generate action script for the specified action. If the specified action is set on the page
then script is generated for it. If not, a null/empty string is returned.
| |
ChainToWizard(String, String) |
Chain to another wizard programmatically.
Typically wizards are chained together in meta-data by setting the ChainsToWizard
attribute and an appropriate FinishTarget.
Wizard chaining allows multiple wizard pages to be glued together into, essentially, one wizard.
In general the platform attempts to glue the wizards together as seamlessly as possible in order
to provide the appearance to the end use of a single wizard.
Note that internally this method performs a call to Navigate(String, String, String, String, NavigateAttrs, String).
If more navigation control is required in programmatic chaining, use the ChainToWizard(String, String, String, String, NavigateAttrs, String) overload.
| |
ChainToWizard(String, String, String, String, NavigateAttrs, String) |
Chain to another wizard programmatically.
Typically wizards are chained together in meta-data by setting the ChainsToWizard
attribute and an appropriate FinishTarget.
Wizard chaining allows multiple wizard pages to be glued together into, essentially, one wizard.
In general the platform attempts to glue the wizards together as seamlessly as possible in order
to provide the appearance to the end use of a single wizard.
Note that internally this method performs a call to Navigate(String, String, String, String, NavigateAttrs, String).
Generally programmatic chaining is performed using the simpler ChainToWizard(String, String) overload.
| |
GetCascadedText |
Get the specified localized text for this wizard page. Obtaining the text is
a cascading five step process:
| |
GetChainingQueryParams |
Generates the query parameters required to carry wizard progress forward when
chaining from the current wizard instance to another wizard instance. The
parameters are properly URI encoded and start with a separating ampersand. If
the current wizard was itself chained to, the parameters include the requisite
information.
| |
GetClonedPageInfo |
Gets the cloned PageInfo object for this page. If the page's PageInfo object has not net been cloned
then this method clones it and sets the clone back on the page. If the page's PageInfo object has already been cloned
then that object is returned. In either case the returned PageInfo object will have the ClonedByUser status.
Once the page's PageInfo has been cloned and set back on the page, the cloned PageInfo object can be freely
manipulated without affecting other requests by the current, or other, users.
Note that cloning the PageInfo and setting back on the page does not update any IMapper objects already set up with the original PageInfo object. However, any IMapper objects set up after the operation will use the cloned PageInfo. Performing the operation during the ApplicationPageInit event (PageInit(IAppContext, ApplicationPageArgs)) sets up the clone very early in the page life-cycle and ensure that the page's IMapper objects will use the cloned PageInfo. | |
GetPageNumber |
Gets the page number of the specified wizard page element.
| |
GetWizardText(String) |
Get the specified localized text for this wizard page (however, typically GetCascadedText(IWizPage, String, String) is preferred).
This method should be used only for pre-defined wizard text items found in the IDS.Wizard globalization constants.
| |
GetWizardText(String, String, String) |
Get the specified localized text for this wizard page (however, typically GetCascadedText(IWizPage, String, String) is preferred).
Obtaining the text is a three step process:
| |
LoadPageData | ||
Navigate |
This method may be called to perform programmatic navigation from a wizard extension.
Typically the wizard is allowed to perform its normal cancel or finish navigation per its
CancelTarget or
FinishTarget, respectively.
However, when programmatic navigation is required this method allows navigation to the same targets
as would otherwise occur. Manual construction of the FinishTarget, in particular, can be complicated
and this method takes advantage of the wizard's built-in FinishTarget construction. In addition,
for cases in which the wizard may, or may not, be hosted in a popup, this method can be used to behave accordingly.
| |
PageData |
Gets the WizPageData helper class for the specified page in this wizard. Used to manage a wizard's UserData.
| |
PagePop |
Pops the previous page off the PageStack.
This method is provided primarily for internal use, use with caution.
Use PagePush(Int32) to push a new page onto the page stack. | |
PagePush | ||
SetWizardText |
Stores a text string for this wizard page. This method should be used only
for pre-defined wizard text items found in the IDS.Wizard globalization constants.
|