Quote:You need to set the columns property of the textbox to the maximum width you want. There is also a width property that will also set the width to a specific pixel size. In either case, you need to specify that the text in the textbox should wrap by setting the wrap property to true. ASP.NET <asp:TextBox ID="txt" columns="20" wrap="true" runat="server" />
You need to set the columns property of the textbox to the maximum width you want.
columns
There is also a width property that will also set the width to a specific pixel size.
width
In either case, you need to specify that the text in the textbox should wrap by setting the wrap property to true.
wrap
true
<asp:TextBox ID="txt" columns="20" wrap="true" runat="server" />
TextMode="Multiline"
TextBox
strb.Append("<textarea rows="4" cols="50" id="" text1="" style="" width="" 50px="" class="" txt="" type="" text="" name="value_""1""_txb" value="" />")
strb.Append("<textarea rows="10" cols="50">"+value+")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)