lanes123
lanes123

Reputation: 147

Adding the resize function to an asp textbox

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

Answers (1)

Andy G
Andy G

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

Related Questions