sodakotahusker
Programmer
- Mar 15, 2001
- 601
In the past I have gotten around the lack of a maximum length attribute on textarea elements by using a behavior
style="BEHAVIOR: url(maxlength.htc)" maxlength = "150"
inside my element.
That is not working with ASP.NET server side textbox - because Microsoft chose not to write out the maxlength attribute on the textarea - thinking that it was not functional. However it is functional with the behavior applied. The only recourse I see is to use the HTML element instead of the server side control - but I'd prefer not the mix the two types of elements. Anybody have any suggestions?
Anybody from Microsoft here to comment on this??
style="BEHAVIOR: url(maxlength.htc)" maxlength = "150"
inside my element.
That is not working with ASP.NET server side textbox - because Microsoft chose not to write out the maxlength attribute on the textarea - thinking that it was not functional. However it is functional with the behavior applied. The only recourse I see is to use the HTML element instead of the server side control - but I'd prefer not the mix the two types of elements. Anybody have any suggestions?
Anybody from Microsoft here to comment on this??