SyntaxFix
Write A Post
Hire A Developer
Questions
Here's how we did it (keeps all code in one place):
<asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine"/> <% TextBox1.Attributes["maxlength"] = "1000"; %>
Just in case someone still using webforms in 2018..