dc

dc

  • NA
  • 663
  • 0

textbox wrap to more than one line

Aug 9 2012 3:11 PM
In a C# 2010 web form application, I would like to use a textbox object (or another object) that meets the following criteria:

1. The user can enter at least 8,000 or more characters,

2. The textbox wraps. In the same textvox area, the data wraps to the next line.

3. There are scrollbars that appear if needed. (this is optional)

The following is what I have so far but it only shows data on one line. i would like the data gto wrap to different lines:

<asp:TableRow ID="show"><asp:TableCell> asp:Label ID="LabelCauseText" runat="server" Text="Cause: " CssClass="whiteText" />                                                                                    <asp:TextBox ID="TextBoxCause" runat="server" width="260" Wrap="true" MaxLength="25000" />  </asp:TableCell> </asp:TableRow>

Can you tell me what I can do to make the data wrap to more than one line?