The OnSave trigger is activated just before the the toolbar XML is about to be saved to a locacl cache.
Syntax:
OnSave="Function(); Function2(); ..."
Remarks:
Typically this function is used to update control values before the toolbar is saved, to remove value, search history etc.
This trigger is called before a Save() function executes.
If autosave is enabled, toolbar changes are saved automatically when the browser is closed, opened or when the toolbar tab is clicked. This will likewise activate the OnSave trigger.