MY form code as follows and it works fine in Internet Explorer but doesn't
work in non-IE browsers.
<form id="test" runat="server">
<table >
<tr>
<td><table>
<tr>
<td>*Required Field</td>
<td> </td>
</tr>
<tr>
<td>*First Name</td>
<td><asp:TextBox ID="FirstName" columns="25" runat="server" />
<asp:RequiredFieldValidator
id="RequiredFieldValidator1" runat="server"
ErrorMessage="Please enter your First name." Display="None"
ControlToValidate="FirstName" />
<asp:ValidationSummary id="ValidationSummary1"
ShowMessageBox="True" ShowSummary="False" runat="server"/>
</td>
</tr>
<tr>
<td>*Last Name</td>
<td><asp:TextBox id="LastName" columns="25" runat="server" />
<asp:RequiredFieldValidator
ID="RequiredFieldValidator2" runat="server"
ErrorMessage="Please enter your Last name." Display="None"
ControlToValidate="LastName" />
</td>
</tr>
<tr>
<td>*Email</td>
<td class="grey"><asp:TextBox id="txtEmail" columns="25"
runat="server" />
<asp:RequiredFieldValidator
ID="RequiredFieldValidator5" runat="server"
ErrorMessage="Please enter your Email address." Display="None"
ControlToValidate="Email" />
<asp:RegularExpressionValidator id="valValidEmail"
runat="server"
ControlToValidate="Email"
ValidationExpression="^([_a-zA-Z0-9-]+)(\.[_a-zA-Z0-9-]+)*@([a-zA-Z0-9-]+)(\.[a-zA-Z0-9-]+)*(\.[a-z]{2,4})$"
ErrorMessage="Invalid Email address."
Display="None">
</asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<td></td>
<td><br /><asp:Button id="Submit" OnClick="submit" Text="Submit"
runat="server" />
</td>
</tr>
</table></td>
</tr>
</table>
</form>
"Lucas Tam" wrote:
=?Utf-8?B?Sm9l?= <Jo*@discussions.microsoft.com> wrote in
news:FB**********************************@microsof t.com:
These validation controls are set to run servside then why they donÆ’
Tt work in non-IE browser.
Did you implement the server side event handler for the validation
controls?
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
Horrible experience at Newmarket Volvo:
http://newmarketvolvo.tripod.com