A good example illustrating the concept of page redirection is adding an OK button to a page that refreshes the associated Show Table page to show updated (refreshed) data.
Step 1: Create a page using the Application Wizard.
Step 2: Select the page in the Application Explorer, open the Properties dialog and select the OKButton control.
Step 3: Set these properties in the Properties dialog for the OKButton control.
|
Tab |
Property |
Setting |
|
Display |
Button Text |
OK |
|
Bindings |
Action |
Refresh page |
|
Bindings |
Redirect |
Go back to the previous page and refresh its data This causes the next page displayed to be the previous page in the browser’s history. |
Step 4: Build and run your application.
Button Bindings - Redirect and Send Email Actions
Button Bindings - Substitution Variables
Button Tag Pass-Through Attributes