NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HtmlTextArea Class

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

Remarks

[To be supplied.]

Requirements

Namespace: System.Web.UI.HtmlControls

Assembly: System.Web.dll

Example [Visual Basic]

[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>

See Also

HtmlTextArea Members | System.Web.UI.HtmlControls Namespace