View Single Post
  #5 (permalink)  
Old January 16th, 2008, 11:28 AM
dparsons dparsons is offline
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

As Peter has said, the number of lines is insignificant because once the user gets to about the 9th line in your textbox, the scrollbars will become enabled. If you are seriously trying to avoid this, set the MaxLength attribute of your textbox so that the user can never go beyond X point where the scrollbar becomes enabled.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor :.
Wrox Books 24 x 7
================================================== =========