Latest web development tutorials

ASP.NET TextBox Wrap property

TextBox controls TextBox controls

Definition and Usage

Wrap property sets or returns whether the text wrap multi-line text box.

The property is used only in TextMode = "Multiline" when.

grammar

<asp:TextBox Wrap="TRUE|FALSE" TextMode="MultiLine" runat="server"/>


Examples

The following examples of the Wrap property is set to "False":

<form runat="server">
<asp:TextBox id="tb1" runat="server"
TextMode="MultiLine" Wrap="False" />
</form>

The demonstration >>

TextBox controls TextBox controls