Click or drag to resize
BasicFormSaveData Method
Saves data and optionally redirects user to specified URL.

Namespace: CMS.FormControls
Assembly: CMS.FormControls (in CMS.FormControls.dll) Version: 8.2.23
Syntax
C#
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: Boolean
See Also