Saves data and optionally redirects user to specified URL.
Namespace: CMS.FormEngine.Web.UIAssembly: CMS.FormEngine.Web.UI (in CMS.FormEngine.Web.UI.dll) Version: 12.0.0
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