Click or drag to resize
AceoffixCtrlSaveFilePage Property
Sets or retrieves a value that indicates with which page developers would like to receive and save the document sent by AceoffixCtrl.

Namespace: Aceoffix
Assembly: Aceoffix (in Aceoffix.dll) Version: 5.0.0.1
Syntax
public string SaveFilePage { get; set; }

Property Value

Type: String

The property has no default value. SaveFilePage is the URL of Web page used to receive and save document.

Note Note
The URL can be a relative URL or a complete URL which starts with "http". The relative URL can be relative to the URL of current page and it also can be a root relative URL. The root relative URL starting with "/" is relative to the root path of the application.

Note: If the URL is a complete URL, make sure that this URL must link to the current website instead of other websites.

It is recommended that you use a relative URL to make the application more portable.

Remarks
This is an important property of AceoffixCtrl. If you need to save the document modified by users, you must set a value to SaveFilePage property before you call the OpenDocument or CreateNewDocument method. SaveFilePage is the URL of Web page used to receive and save document.
Note Note

When AceoffixCtrl is saving document, AceoffixCtrl will first submit data extracted from the document to page specified by SaveDataPage and then submit the document file to page specified by SaveFilePage.

If the SaveDataPage property is not assigned, submitting data action will not execute. If the SaveFilePage property is not assigned, submitting file action will not execute. If both SaveDataPage property and SaveFilePage property are not assigned, AceoffixCtrl will report an error when saving document.

Examples

The following example shows how to use the SaveFilePage property.

Refer to the full code example in the Load event topic to learn how to open document online.

Refer to the code example in the SaveToFile(String) method topic to view the code of savefile.aspx page.

AceoffixCtrl1.ServerPage = "aceoffix-runtime/server.aspx"; // Required
AceoffixCtrl1.SaveFilePage = "doc/savefile.aspx"; // Set savefile.aspx to receive and save document.
AceoffixCtrl1.OpenDocument("doc/test.doc", Aceoffix.OpenModeType.docNormalEdit, "John Scott");
See Also