Form

Represents an <form /> tag. Normally you would not create new form tags, but rather, reference ones created declaratively. The first form found in a page is assigned to Page.Form.

Constructors

Form() Creates a form element.
Form(String id) Creates a form element with the given id.

Events

OnSubmit UserEventArgs Fired when the form is submitted.  

Property Functions

Action(String href) Gets or sets the href of where to send the form data to on submit.  
Encoding(String encoding) Gets or sets the form data encoding type.  
Encoding(EncodingType encoding) Gets or sets the form data encoding type.  
Method(String method) Gets or sets the form data sending method.  
Method(FormMethod method) Gets or sets the form data sending method.  
Target(String target) Gets or sets the target of the form.  

Functions

Reset()   Resets the form.  
Submit()   Submits the form.  

Last edited May 30, 2011 at 6:36 PM by dahrkdaiz, version 1

Comments

No comments yet.