Why Validation Control does not work with Mozilla Firebird 0.6

I

imagina

The validation control is working well with IE. Here is the code I mentioned
for IE.
....
<form name="General" method="post" action="Default.aspx"
language="javascript" onsubmit="ValidatorOnSubmit();" id="General">
....
<script language="javascript"
src="/aspnet_client/system_web/1_1_4322/WebUIValidation.js"></script>
....

But for Mozilla it seems does not load the javascript file and do not
validate. Here is the code.
....
<form name="General" method="post" action="Default.aspx" id="General">
....

This really happen with some pages. I relly do not know why....
Hope someone could help me. Thankz in advance.
 
A

Alessandro Zifiglio

All asp.net validation controls validate clientside only on IE. For all
other browsers you get serverside validation. If you still want this kind of
funtionality you might want to develop your own suite of validation controls
which is made easy if one wanted to extend validation controls, or you could
just save yourself the time and the effort by purchasing such a control.

The most affordable and the nicest that i know of is PeterBlums Validation
controls, and they work client on a variety of browsers.

http://www.peterblum.com/VAM/Home.aspx
 
I

imagina

But the validation control also works on some pages with Mozilla.
I think it should has some error about my web server because yesterday it
said something about
client side javascript error and I follow the instruction it said. Something
like "aspnet_regiis.exe..."
Then the validation control does not work with Mozilla. Before this error
occured , it was working fine.
 
I

imagina

My problem seems the validation control does not work neither client or
server side. This problem occur with some pages. Otheerwise, when I created
new page, everything was fine.
Here is the code snippet

<%@ Register TagPrefix="mbdb" Namespace="MetaBuilders.WebControls"
Assembly="MetaBuilders.WebControls.DefaultButtons" %>
<%@ Page language="c#" Codebehind="Default.aspx.cs" AutoEventWireup="false"
Inherits="Huawei.Default"%>
<%@ Register TagPrefix="uc1" TagName="TopMenu" Src="Module/TopMenu.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>General Management</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
<LINK href="huawei.css" type="text/css" rel="stylesheet">
</HEAD>
<body leftmargin="0" topmargin="0">
<form id="General" method="post" runat="server">
<uc1:topmenu id="TopMenu1" runat="server"></uc1:topmenu>
<mbdb:DefaultButtons id="DefaultButtons1" runat="server">
<mbdb:DefaultButtonSetting Button="queryButton" Parent="cardNumber" />
<mbdb:DefaultButtonSetting parent="newpin" button="modifyPinButton" />
<mbdb:DefaultButtonSetting parent="serviceStart"
button="modifyDayButton" />
<mbdb:DefaultButtonSetting parent="serviceStop" button="modifyDayButton"
/>
<mbdb:DefaultButtonSetting parent="maxCall" button="modifyFocButton" />
</mbdb:DefaultButtons>
<table class="Normal" id="topTable" cellSpacing="0" cellPadding="0"
width="779" border="0"
runat="server">
<tr>
<td width="35%">&nbsp;</td>
<td class="TitleFont" align="center" width="30%">??????????</td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="35%">&nbsp;</td>
<td width="30%">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="35%">&nbsp;</td>
<td width="30%" align="center">???????????&nbsp;
<asp:textbox id="cardNumber" Runat="server" Columns="20"
CssClass="Textbox" MaxLength="18"></asp:textbox>
</td>
<td>&nbsp;
<asp:button id="queryButton" runat="server" CssClass="Commandbutton"
Text="??????????"></asp:button>
<asp:button id="changeCardButton" runat="server"
CssClass="Commandbutton" Text="???????????"></asp:button></td>
</tr>
<tr>
<td width="35%">&nbsp;</td>
<td width="30%">&nbsp;
<asp:RequiredFieldValidator id="RequiredFieldValidator1"
runat="server" ErrorMessage="????????????????????????"
ControlToValidate="cardNumber"></asp:RequiredFieldValidator></td>
<td>&nbsp;</td>
</tr>
</table>
....

I am using "Default Button" from metabuilders.com.
Thank you a lot.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top