The HtmlTextArea class defines the methods, properties, and events for the HtmlTextArea control. This class allows programmatic access to the HTML <textarea> element on the server.
Object
Control
HtmlControl
HtmlContainerControl
HtmlTextArea
[Visual Basic] Public Class HtmlTextArea Inherits HtmlContainerControl Implements IPostBackDataHandler [C#] public class HtmlTextArea : HtmlContainerControl, IPostBackDataHandler [C++] public __gc class HtmlTextArea : public HtmlContainerControl, IPostBackDataHandler [JScript] public class HtmlTextArea extends HtmlContainerControl, IPostBackDataHandler
[To be supplied.]
Namespace: System.Web.UI.HtmlControls
Assembly: System.Web.dll
[Visual Basic]
<html> <script runat=server> Sub SubmitBtn_Click(ByVal Source As Object, ByVal E as EventArgs) Message.InnerHtml = Speech.Value End Sub </script> <body> <form method=post runat=server> Please type in your speech: <br><br> <textarea id="Speech" cols=40 rows=4 runat=server>Enter Blurb</textarea> <input type=submit value="Enter" OnServerClick="SubmitBtn_Click" runat=server> <h1><i><span id="Message" runat=server> </span></i> </h1> </form> </body> </html>