![]() ![]() | ||
You can use the HtmlForm class to get access to the HTML <form> element on the server. Here is the inheritance hierarchy of this class:
Object Control HtmlControl HtmlContainerControl HtmlForm
You can find the notable public properties of HtmlForm objects in Table 19.5. (This class has no non-inherited methods or events.) Note that as with other HTML server controls, I am not listing the notable properties, methods, and events this class inherits from the Control class—you can find them in Tables 15.1 to 15.3 in Chapter 15. This class also inherits the HtmlControl class—you can find that class in Table 19.2—and the HtmlContainerControl class, which you can see in Table 19.3.
Property |
Means |
---|---|
Enctype |
Gets/sets the encoding type used when the browser posts the form to the server. |
Method |
Gets/sets how a browser posts form data to the server for processing. |
Name |
Gets the name for the form. |
Target |
Gets/sets the frame or window to display results in. |
![]() ![]() | ||