AceoffixCtrlJsFunction_BeforeDocumentSaved Property |
Namespace: Aceoffix
This event is triggered at the client-side before the document is saved.
If you want to capture this event, You should define a JavaScript function in the aspx file of current page.
In the JavaScript function, you can return false to prevent from saving the document.
The following code example shows how to use the JsFunction_BeforeDocumentSaved property.
AceoffixCtrl1.JsFunction_BeforeDocumentSaved = "BeforeDocumentSaved()";
And then, you should define the BeforeDocumentSaved() JavaScript function in the aspx file of current page.
<script language="javascript" type="text/javascript"> function BeforeDocumentSaved() { // Add your code here. return true; //Continue to save document. } </script>