Re: multiline property in txtbox, but max char not working.
Although ASP.Net uses the same class to display both a single-line textbox
(HTML input type=text) and a multi-line textbox (HTML textarea), they are 2
completely different HTML objects. An input type=text object has a maxLength
attribute; a textarea does not. The only way to restrict the length of data
in a textarea is with Validation.
Big things are made up
of lots of little things.
"Paul" <Paul@discussions.microsoft.com> wrote in message
> I have a text box and am using it for user input, string up to 50
> long. I want it to be multiline and have autowrap selected, but when I set
> the mode to multiline the entry seems to allow more than 50 characters. I
> have max char set to 50 in the properties box.
> Paul G
> Software engineer.
|All times are GMT. The time now is 02:23 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.