You can keep the same page on-screen after clicking the “save” button by specifying the URL in the save button’s Properties dialog.
Step 1: Open the page’s Properties dialog and select the OK or Save button control.
Step 2: Set URL to Back to take the application user back to the previous page.
|
Tab |
Property |
Setting |
|
|
Control name |
Save |
|
Display |
Button Text |
Save |
|
Bindings |
Validate page data |
True |
|
Bindings |
Action |
Save data on page This indicates to the application that data must be added or updated in the database. Do not change the command name from Save data on page, otherwise the updated data will not be saved in the database. |
|
Bindings |
URL |
Back Optionally, you can specify the URL of the current page to refresh the browser with the same page. |
Step 3: Build and run the application.
Example: Configuring a Go Filter Button
Example: Keeping a Page On-Screen After Clicking Save
Example: Add a Logout Button to a Page
Button Bindings - Redirect and Send Email Actions
Button Bindings - Substitution Variables
Button Tag Pass-Through Attributes