FormSubmitter Class
This class allows to prepare specified HTMLFormElement, collects values from the form element, submit them to the remote server and receives a response.
Inheritance Hierarchy
SystemObject
  Aspose.Html.FormsFormSubmitter

Namespace: Aspose.Html.Forms
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.9
Syntax
public class FormSubmitter : IDisposable

The FormSubmitter type exposes the following members.

Constructors
  NameDescription
Public methodFormSubmitter(FormEditor)
Initializes a new instance of the FormSubmitter class.
Public methodFormSubmitter(HTMLFormElement)
Initializes a new instance of the FormSubmitter class based on HTMLFormElement.
Public methodFormSubmitter(HTMLDocument, Int32)
Initializes a new instance of the FormSubmitter class based on HTMLFormElement selected by index from HTMLDocument.
Public methodFormSubmitter(HTMLDocument, String)
Initializes a new instance of the FormSubmitter class based on HTMLFormElement selected by identifier from HTMLDocument.
Properties
  NameDescription
Public propertyAction
Server-side form handler. See the action attribute definition in HTML 4.01.
Public propertyMethod
HTTP method [IETF RFC 2616] used to submit form. See the method attribute definition in HTML 4.01.
Methods
  NameDescription
Public methodDispose
Releases unmanaged and - optionally - managed resources.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSubmit
Submits the form data to the server.
Public methodSubmit(CookieContainer)
Submits the form data to the server with specified cookies.
Public methodSubmit(ICredentials)
Submits the form data to the server with specified user credentials.
Public methodSubmit(TimeSpan)
Submits the form data to the server with specified timeout.
Public methodSubmit(ICredentials, CookieContainer)
Submits the form data to the server with specified user credentials and cookies.
Public methodSubmit(ICredentials, TimeSpan)
Submits the form data to the server with specified user credentials and timeout.
Public methodSubmit(TimeSpan, CookieContainer)
Submits the form data to the server with specified timeout and cookies.
Public methodSubmit(ICredentials, TimeSpan, Boolean)
Submits the form data to the server with specified user credentials.
Public methodSubmit(ICredentials, TimeSpan, CookieContainer)
Submits the form data to the server with specified user credentials, timeout and cookies.
Public methodSubmit(ICredentials, TimeSpan, Boolean, CookieContainer)
Submits the form data to the server with specified user credentials and cookies.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also