Reputation: 147
In an there is the function at the bottom right corner to drag and change the size of the box, is there a way of adding it to an asp textbox?
Textbox is as follows:
<div class="control">
<asp:TextBox runat="server" ID="TextBox1" Width="100%" EnableViewState="false" ViewStateMode="Disabled" />
<asp:Label runat="server" ID="Label1" Visible="false" ViewStateMode="Disabled" EnableViewState="false" AssociatedControlID="TextBox1" />
</div>
Upvotes: 1
Views: 1333
Reputation: 19367
Set the attribute TextMode="multiline"
, you can still set Rows="1"
if you want it initially to look like a textbox/text input.
Upvotes: 2