getHasUnsavedChanges Method |
Gets a value representing whether the PdfWebControl document contains unsaved changes.
function getHasUnsavedChanges();
None
Type: Boolean
Returns true if the document has changed since its last save; otherwise false.var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance window.alert("Does this document have unsaved changes? " + myApi.getHasUnsavedChanges());