RegularExpressionValidator
hello,
i'm using a RegularExpressionValidator in a form which works fine in IE, however in netscape instead of displaying the dialog box it just reloads the page.
I use:
Code:
<form runat="server">
<asp:TextBox class="edittext" id="Title" runat="server" size="57" MaxLength="150"></asp:TextBox>
<asp:RegularExpressionValidator id="ValidateTitle" runat="server" ValidationExpression="[\w\s-']+" Display="Dynamic" ControlToValidate="Title" ErrorMessage="Only alphanumeric characters please."></asp:RegularExpressionValidator>
<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" Display="Dynamic" ControlToValidate="Title" ErrorMessage="Do not leave title empty."></asp:RequiredFieldValidator>
<asp:ImageButton id="Save" runat="server" Width="16px" Height="16px" alt="Save" ImageUrl="images/icon_save.gif"></asp:ImageButton>
</form>
...what am i doing wrong?