Saves data and optionally redirects user to specified URL.
Namespace: CMS.FormControlsAssembly: CMS.FormControls (in CMS.FormControls.dll) Version: 8.2.23
Syntax public bool SaveData(
string redirectUrlAfterSave,
bool showChangesSaved = true
)
Parameters
- redirectUrlAfterSave
- Type: SystemString
If specified, user is redirected to this URL after data is successfully saved - showChangesSaved (Optional)
- Type: SystemBoolean
If true and redirect URL is not set, Info message "Changes were saved" is displayed
Return Value
Type:
BooleanSee Also