473,505 Members | 16,332 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

validation controls

Hi,

the validation controls dont work on Netscape or Mozilla and only on
Internet Explorer
why? How do i correct this problem?

Thanks
Nov 18 '05 #1
6 2399
The validation controls emit javascript that only supports IE. You would
either have to switch to serverside validation or do something complex to
override the javascript that the control emits as described here:

http://aspnet.4guysfromrolla.com/articles/051204-1.aspx

--
Hope this helps,
Bryant Hankins
Numinet Systems Inc.
http://www.numinet.com

"Stephen" <st*********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi,

the validation controls dont work on Netscape or Mozilla and only on
Internet Explorer
why? How do i correct this problem?

Thanks

Nov 18 '05 #2
I rewrote ASP.NET validation to address numerous limitations, including
DHTML-only support for client-side validation, in Professional Validation
And More (http://www.peterblum.com/vam/home.aspx).
Its 22 validators greatly expand what you can do with validation, from the
UI it offers, to the rules of validation. It helps you avoid writing custom
code and hacks that are used with Microsoft's validators.

--- Peter Blum
www.PeterBlum.com
Email: PL****@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

"Stephen" <st*********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi,

the validation controls dont work on Netscape or Mozilla and only on
Internet Explorer
why? How do i correct this problem?

Thanks

Nov 18 '05 #3
Wow, if it's this much of a pain to support a browser other than Microsoft
IE, then why are we relying on these controls? Most of us have to support
more than MS. It's a good thing I'm also using server validation... I
think it would be easiest just to leave it at that, at least for now... I'm
running out of time.

Andrea
"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:LM**************@cpmsftngxa06.phx.gbl...
Stephen,

The client-side validation in ASP.NET targets the Internet Explorer DOM.
In cases where a user is using a different browser, server-side validation
will take place.

If you want client-side validation on all platforms, you can write your own client validation scripts. Here's a sample I turned up:

http://www.superdotnet.com/Article.aspx?ArticleID=126

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
From: "Stephen" <st*********@hotmail.com>
Subject: validation controls
Date: Wed, 21 Jul 2004 12:11:58 -0700
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <#C**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 69.28.129.41
Path:

cpmsftngxa06.phx.gbl!TK2MSFTNGXA06.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0 8.phx.gbl!TK2MSFTNGP10.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:248924X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Hi,

the validation controls dont work on Netscape or Mozilla and only on
Internet Explorer
why? How do i correct this problem?

Thanks

Nov 18 '05 #4
Andrea,

The validation controls will validate on the client AND the server. If the
browser does not support client validation, the control will validate on
the server.

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
From: "Andrea Williams" <an*******@hotmailIHATESPAM.com>
References: <#C**************@TK2MSFTNGP10.phx.gbl> <LM**************@cpmsftngxa06.phx.gbl>Subject: Re: validation controls
Date: Thu, 22 Jul 2004 15:35:46 -0700
Lines: 63
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.181
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.181
Message-ID: <#v*************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: c-24-17-162-64.client.comcast.net 24.17.162.64
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12
.phx.gblXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:249246
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Wow, if it's this much of a pain to support a browser other than Microsoft
IE, then why are we relying on these controls? Most of us have to support
more than MS. It's a good thing I'm also using server validation... I
think it would be easiest just to leave it at that, at least for now... I'mrunning out of time.

Andrea
"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:LM**************@cpmsftngxa06.phx.gbl...
Stephen,

The client-side validation in ASP.NET targets the Internet Explorer DOM.
In cases where a user is using a different browser, server-side validation
will take place.

If you want client-side validation on all platforms, you can write your

own
client validation scripts. Here's a sample I turned up:

http://www.superdotnet.com/Article.aspx?ArticleID=126

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
>From: "Stephen" <st*********@hotmail.com>
>Subject: validation controls
>Date: Wed, 21 Jul 2004 12:11:58 -0700
>Lines: 9
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
>Message-ID: <#C**************@TK2MSFTNGP10.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 69.28.129.41
>Path:

cpmsftngxa06.phx.gbl!TK2MSFTNGXA06.phx.gbl!TK2MSF TNGXA05.phx.gbl!TK2MSFTNGP

0
8.phx.gbl!TK2MSFTNGP10.phx.gbl
>Xref: cpmsftngxa06.phx.gbl

microsoft.public.dotnet.framework.aspnet:248924 >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Hi,
>
>the validation controls dont work on Netscape or Mozilla and only on
>Internet Explorer
>why? How do i correct this problem?
>
>Thanks
>
>
>



Nov 18 '05 #5
Unless I'm missing something, that is NOT happening for me! I'm had to
create the code myself to validate my fields b/c the submit was happening.
Is there something inparticular I need to do to make the validation work
from the controls?

Andrea
"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:tr**************@cpmsftngxa06.phx.gbl...
Andrea,

The validation controls will validate on the client AND the server. If the browser does not support client validation, the control will validate on
the server.

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
From: "Andrea Williams" <an*******@hotmailIHATESPAM.com>
References: <#C**************@TK2MSFTNGP10.phx.gbl> <LM**************@cpmsftngxa06.phx.gbl>
Subject: Re: validation controls
Date: Thu, 22 Jul 2004 15:35:46 -0700
Lines: 63
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.181
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.181
Message-ID: <#v*************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: c-24-17-162-64.client.comcast.net 24.17.162.64
Path:

cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12 phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:249246
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Wow, if it's this much of a pain to support a browser other than MicrosoftIE, then why are we relying on these controls? Most of us have to supportmore than MS. It's a good thing I'm also using server validation... I
think it would be easiest just to leave it at that, at least for now...

I'm
running out of time.

Andrea
"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:LM**************@cpmsftngxa06.phx.gbl...
Stephen,

The client-side validation in ASP.NET targets the Internet Explorer DOM. In cases where a user is using a different browser, server-side

validation will take place.

If you want client-side validation on all platforms, you can write your

own
client validation scripts. Here's a sample I turned up:

http://www.superdotnet.com/Article.aspx?ArticleID=126

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
>From: "Stephen" <st*********@hotmail.com>
>Subject: validation controls
>Date: Wed, 21 Jul 2004 12:11:58 -0700
>Lines: 9
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
>Message-ID: <#C**************@TK2MSFTNGP10.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 69.28.129.41
>Path:

cpmsftngxa06.phx.gbl!TK2MSFTNGXA06.phx.gbl!TK2MSF TNGXA05.phx.gbl!TK2MSFTNGP
0 8.phx.gbl!TK2MSFTNGP10.phx.gbl
>Xref: cpmsftngxa06.phx.gbl

microsoft.public.dotnet.framework.aspnet:248924
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Hi,
>
>the validation controls dont work on Netscape or Mozilla and only on
>Internet Explorer
>why? How do i correct this problem?
>
>Thanks
>
>
>


Nov 18 '05 #6
Andrea,

That is exactly what should happen. If the client does not support
validation, validation takes place on the server.

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
From: "Andrea Williams" <an*******@hotmailIHATESPAM.com>
References: <#C**************@TK2MSFTNGP10.phx.gbl> <LM**************@cpmsftngxa06.phx.gbl>
<#v*************@TK2MSFTNGP12.phx.gbl>
<tr**************@cpmsftngxa06.phx.gbl>Subject: Re: validation controls
Date: Tue, 27 Jul 2004 17:27:00 -0700
Lines: 120
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.181
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181
Message-ID: <ub**************@TK2MSFTNGP09.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: c-24-17-162-64.client.comcast.net 24.17.162.64
Path: cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP09
.phx.gblXref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.aspnet:251185
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Unless I'm missing something, that is NOT happening for me! I'm had to
create the code myself to validate my fields b/c the submit was happening.
Is there something inparticular I need to do to make the validation work
from the controls?

Andrea
"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:tr**************@cpmsftngxa06.phx.gbl...
Andrea,

The validation controls will validate on the client AND the server. If

the
browser does not support client validation, the control will validate on
the server.

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
>From: "Andrea Williams" <an*******@hotmailIHATESPAM.com>
>References: <#C**************@TK2MSFTNGP10.phx.gbl>

<LM**************@cpmsftngxa06.phx.gbl>
>Subject: Re: validation controls
>Date: Thu, 22 Jul 2004 15:35:46 -0700
>Lines: 63
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.3790.181
>X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.181
>Message-ID: <#v*************@TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: c-24-17-162-64.client.comcast.net 24.17.162.64
>Path:

cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TNGP08.phx.gbl!TK2MSFTNGP1

2
phx.gbl
>Xref: cpmsftngxa06.phx.gblmicrosoft.public.dotnet.framework.aspnet:249246 >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Wow, if it's this much of a pain to support a browser other thanMicrosoft >IE, then why are we relying on these controls? Most of us have tosupport >more than MS. It's a good thing I'm also using server validation... I
>think it would be easiest just to leave it at that, at least for now...

I'm
>running out of time.
>
>Andrea
>
>
>"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
>news:LM**************@cpmsftngxa06.phx.gbl...
>> Stephen,
>>
>> The client-side validation in ASP.NET targets the Internet ExplorerDOM. >> In cases where a user is using a different browser, server-side

validation
>> will take place.
>>
>> If you want client-side validation on all platforms, you can write your >own
>> client validation scripts. Here's a sample I turned up:
>>
>> http://www.superdotnet.com/Article.aspx?ArticleID=126
>>
>> Jim Cheshire [MSFT]
>> MCP+I, MCSE, MCSD, MCDBA
>> Microsoft Developer Support
>> ja******@online.microsoft.com
>>
>> This post is provided "AS-IS" with no warranties and confers no rights. >>
>> --------------------
>> >From: "Stephen" <st*********@hotmail.com>
>> >Subject: validation controls
>> >Date: Wed, 21 Jul 2004 12:11:58 -0700
>> >Lines: 9
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
>> >Message-ID: <#C**************@TK2MSFTNGP10.phx.gbl>
>> >Newsgroups: microsoft.public.dotnet.framework.aspnet
>> >NNTP-Posting-Host: 69.28.129.41
>> >Path:
>>


cpmsftngxa06.phx.gbl!TK2MSFTNGXA06.phx.gbl!TK2MS FTNGXA05.phx.gbl!TK2MSFTNG P 0
>> 8.phx.gbl!TK2MSFTNGP10.phx.gbl
>> >Xref: cpmsftngxa06.phx.gbl
>microsoft.public.dotnet.framework.aspnet:248924
>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>> >
>> >Hi,
>> >
>> >the validation controls dont work on Netscape or Mozilla and only on
>> >Internet Explorer
>> >why? How do i correct this problem?
>> >
>> >Thanks
>> >
>> >
>> >
>>
>
>
>



Nov 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3675
by: buran | last post by:
Dear ASP.NET Programmers, I have a web user control (a search menu) which has 2 validation controls (one for input and another for the search criterion). I am including this search user control...
6
3692
by: Nedu N | last post by:
Hi, I want to have confirmation(Yes/No) on a button of the webform in which there are many validation controls. I want all the validation controls to be triggered first and then Yes/No...
14
6268
by: Matt | last post by:
I want to know if ASP.NET Web Forms Validation Controls are Server-Side or Client-Side form validation? Since I think each validator control can select either 1) JavaScript based error dialog or 2)...
2
3978
by: Martyn Fewtrell | last post by:
Dear All I have a Windows 2003 Server with IIS6 where the validation controls on ASP.Net pages no longer work. I believe it to be specific to the server as if I create an ASP.Net page on the...
7
2032
by: Ryan Ternier | last post by:
We're running a site that has required field validation on the login page. It works fine on our development / test machines. However, when I upload this site to our live server i get this error. ...
2
6689
by: Tim Frawley | last post by:
Source code attached indicates my problem with validation and a button bar save button. Fill the Textbox with some text then tab off the control. The message box will display the text in the...
5
1742
by: Kyle | last post by:
On my Development System, all the page validation controls work fine (WinXP Pro + SP2, VS.NET 2003, .NET v1.1.4322). On the Production System, none of the page validation controls are working...
12
2033
by: Dabbler | last post by:
I need to insure that at least one of three phone number fields has a value (requiredfield) but I'm not sure of a way to implement this without server side logic. Is there a way to use the...
0
1696
by: dhurwitz | last post by:
Hi, In my ASP.NET 2.0 web app, I have a user control, ucBinEdges, with several text boxes. The user control has several validation controls validating the Text of these text boxes -...
0
7218
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7307
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7370
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7021
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5035
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4701
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
409
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.