I have a textBox field with a MaxLength set to 255. I can enter more than 255 characters in the textbox. I was expecting there to be a 255 character limit.Is there any way to control this? Do I need to use the code behind? Can we control this with a RequiredFieldValidator?
here is the code in the .aspx
<asp:TextBox ID="txtCommentaire" runat="server" Width="600px" MaxLength="255" TextMode="MultiLine"
Height="90px" style="overflow:hidden" ></asp:TextBox>