JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Using the HtmlTextArea Class

The HtmlTextArea class gives you access to the HTML <textarea> element on the server. Here is the inheritance hierarchy for this class:

Object
   Control
      HtmlControl
         HtmlContainerControl
            HtmlTextArea

You can find the notable public properties of HtmlTextArea objects in Table 19.8 and their notable events in Table 19.9. (This class has no non-inherited methods.) 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 HtmlInputControl class, which you can find in Table 19.4.

Table 19.8: Noteworthy public properties of HtmlTextArea objects.

Property

Means

Cols

Gets/sets the text area's width.

Rows

Gets/sets the text area's height of the text area.

Value

Gets/sets the text area's text content.

Table 19.9: Noteworthy public events of HtmlTextArea objects.

Event

Means

ServerChange

Occurs when the Value property changes on the server.

Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor