enter key within text area
Hi,
I have a textarea within aspx page with some validation.
whenever I type within the textarea if I use Enter Key, validation comes up that I have exceeded the number of characters That is permited!!!
here is the code:
<textarea name="Overview"
cols="53"
rows="62"
id="Overview"
runat="server"
wrap="soft" />
and validation
<asp:RequiredFieldValidator id="RequiredFieldValidator4" runat="server"
controlToValidate="Overview"
ErrorMessage="error message... "
Display="None"
Width="100%"> </asp:RequiredFieldValidator>
<asp:RegularExpressionValidator
Display="None"
ControlToValidate="Overview"
validationExpression=".{0,1600}"
ErrorMessage="Please limit the length of the content entered to 1600 characters."
Runat="server"/>
What is the story with enter Key?
Thanks
|