The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Limit number of characters in TextBox control
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

baileyPosted May 31, 2010, 12:09 AM
Just my opinion -- in striving for elegant software design is to eliminate code like javascript that has a risk of cross-platform incompatibility, adds more script to be rendered in the browser, uses unnecessary bandwith as a result and creates a potential maintenance issue. Javascript has it's place but for limiting characters it is better to set the property for the core framework, and let ASP.Net take care of the rendering, that way it always works in all browsers and does not send and extra block of Javascript to the browser for each page.
baileyPosted May 30, 2010, 9:42 AM
Just curious, why this approach instead of just setting the Maxlength property?
Maulik PatelPosted May 20, 2010, 2:43 AM
thank you for your document.