FileRequestGetFormField Method |
Namespace: Aceoffix
When AceoffixCtrl is saving document, you can call this method to get the values of form fields posted from the page with AceoffixCtrl.
To be able to capture the value, the form field must have a name attribute.
![]() |
---|
The Form field can be Input Box, Drop-down Box, Radio, Check Box, TextArea, Hidden Field etc.. |
The following code example shows how to use the GetFormField method to get the value of the form field posted from the page with AceoffixCtrl.
protected void Page_Load(object sender, EventArgs e) { Aceoffix.FileRequest freq = new Aceoffix.FileRequest(); string strSubject = freq.GetFormField("EditSubject"); // After you get the input text, you can save it to the database. freq.SaveToFile(Server.MapPath("doc/") + freq.FileName); freq.Close(); }