Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

asp.net web control equivalent to <textarea>

Status
Not open for further replies.

123ASP

MIS
Nov 2, 2002
239
US
Hi, I am new to asp.net, when I used to create form in asp 3.0 I used to write HTML Tags like
<INPUT type=&quot;text&quot;>
<TEXTAREA rows=2 cols=20>
<INPUT type=&quot;checkbox&quot;>
<INPUT type=&quot;button&quot; value=&quot;Button&quot;>

Now starting to learn asp.net (vb) I could not find server control equivilant to <TEXTAREA rows=2 cols=20>
I am using <asp:TextBox> but could not make word wrap. Any suggestions.
thanks
Al
 
Code:
<asp:TextBox ID=myText Runat=&quot;server&quot; TextMode=MultiLine Columns=5 Rows=10 />
This will create an HTML textarea control.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top