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 aspalliance.com : (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