ASP.NET MultiLine TextBox, Wrap Doesn’t Work

So a short post on something I came across today at work. The title of this post is ASP.NET MultiLine TextBox, Wrap Doesn’t Work because that’s what I searched for and it took me forever to find the answer. Everyone wants to tell me to add the property of multiline, well I had that..

What was happening, I had a multiline textbox set up, but every time i’d type in the box it would just type on one line, I had set rows and columns correctly, but I had one thing incorrect, width and height.

I finally found the answer at : (talking about row and columns)

Setting these properties does not limit the number of characters or rows the user can enter, only how many will display. Height and Width take precedence over Rows and Columns.

Yes, I had the textbox’s width and height set, I would think that once I chose to use multiline that MS would have stopped me from using those properties that can cause it to function incorrectly..  Oh well there;s your answer.. delete width and height

Technorati Tags: , , ,


2 Comments to “ASP.NET MultiLine TextBox, Wrap Doesn’t Work”

  1. TheFil 14 October 2014 at 1:52 am #

    Your link to is broken 🙁

  2. Richard Curry 29 October 2014 at 8:19 am #

    yes, it seems like the site has been taken down and being changed

Leave a Reply