Saves data and optionally redirects user to specified URL.
Namespace: CMS.FormControlsAssembly: CMS.FormControls (in CMS.FormControls.dll) Version: 9.0.0
Syntaxpublic 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:
Boolean
See Also