TextBox - MaxLength property

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a MultiLine TextBox (WebForm - C#) with the MaxLength property = 1000 but am able to type in an unlimited number of characters. Is there a way to limit the number of characters that can be typed into this TextBox?
 
only the TextBox.TextMode = "singleLine" or "password" , the
TextBox.MaxLength property is valid
so when you set TextBox.TextMode=MutilLine, the MaxLength property not valid

mg said:
I have a MultiLine TextBox (WebForm - C#) with the MaxLength property =
1000 but am able to type in an unlimited number of characters. Is there a
way to limit the number of characters that can be typed into this TextBox?
 
Back
Top