Asp.Net text box how to wrap a separator word instead of going to the next line

I am using Asp.Net and VB on Visual Studio 2010

Hi, I use System.Web.UI.WebControls.TextBoxwith the property wrapset to "true", my problem is that when it wraps a word, it moves the whole word to the next line, which I want to do for the text box to wrap, but not to move the whole word, just go to the new line when the text reaches the right side of the text field.

Example. Imagine a text field 10 characters wide.

Here's what happens:

0123456789  
i am a  
textbox 

This is what I need:

0123456789  
i am a tex  
tbox

But if I set the wrapper to false, it will just expand the width of the text box on one line.

false onTextChanged, . ?

!

+3
2

-, , ASP.NET.

, , - JavaScript , .

  • JS .
  • JS INPUT - (.. "i am a tex<LINEBREAK>tbox" ), , JS ,
  • , , INPUT, <LINEBREAK> .

, ASP.NET(.. , INPUT).

+1

&nbsp;, , .

, .

. .

0

All Articles