FormData Property
- Namespace
TXTextControl.DocumentServer. Web
- Type
TXTextControl.DocumentServer. Web. DocumentViewer. SaveFormDataEventArgs
- Package
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesWeb. DocumentViewer. dll
Description
Gets a snapshot of the currently loaded form's user input.
Syntax
public DataTable FormData { get; }Public ReadOnly Property FormData As DataTableExamples
The legacy Web Forms document viewer type is not part of the current ASP.NET Core package. The following example uses the current MVC Document Viewer model for the same server-side workflow.
TXTextControl.Web.MVC.DocumentViewer.DocumentLoadSettings documentLoadSettings = new();
documentLoadSettings.LoadEmbeddedComments = true;Dim documentLoadSettings As New TXTextControl.Web.MVC.DocumentViewer.DocumentLoadSettings()
documentLoadSettings.LoadEmbeddedComments = TrueLimitations
Read only.
Remarks
The DataTable object allows for a variety of different ways of processing the contained data. For instance, exporting the form data as xml string is as simple as calling the DataTable.WriteXml() method.