473,395 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Why Custom Validators WON'T work in FoxFire?

I am able fire my field validators in FireFox on the server side using...

Page.Validate()
If Not Page.IsValid Then
Exit Sub
End If

But the it won't fire Custom Validators. Anybody know why?

Nov 19 '05 #1
5 1501
TJS
make sure the browser caps is updated in the config file
updates availble from http://slingfive.com/pages/code/browserCaps/

however, even with the udates, I find that vaidators do not always work as
advertised in Firefox browser, even though they may work fine in IE browser
for the same page.

When that happens I just write my own code to validate on the server side or
go with som external javascript validator file.

good luck.
"Jason" <Ja***@discussions.microsoft.com> wrote in message
news:6A**********************************@microsof t.com...
I am able fire my field validators in FireFox on the server side using...

Page.Validate()
If Not Page.IsValid Then
Exit Sub
End If

But the it won't fire Custom Validators. Anybody know why?

Nov 19 '05 #2

"TJS" <no****@here.com> a écrit dans le message de news:
%2****************@TK2MSFTNGP14.phx.gbl...
make sure the browser caps is updated in the config file
updates availble from http://slingfive.com/pages/code/browserCaps/

however, even with the udates, I find that vaidators do not always work as
advertised in Firefox browser, even though they may work fine in IE
browser for the same page.

When that happens I just write my own code to validate on the server side
or go with som external javascript validator file.


You do not need to : google Paul Glavitch DOMValidator. Real good.
Nov 19 '05 #3
Make that "Glavich DOMValidator", not Glavitch.

Here's the Google link :

http://www.google.com/search?hl=en&l...or&btnG=Search

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Michel de Becdelièvre" <m_*****@msn.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...

"TJS" <no****@here.com> a écrit dans le message de news:
%2****************@TK2MSFTNGP14.phx.gbl...
make sure the browser caps is updated in the config file
updates availble from http://slingfive.com/pages/code/browserCaps/

however, even with the udates, I find that vaidators do not always work as advertised
in Firefox browser, even though they may work fine in IE browser for the same page.

When that happens I just write my own code to validate on the server side or go with
som external javascript validator file.


You do not need to : google Paul Glavitch DOMValidator. Real good.

Nov 19 '05 #4
The Validators in ASP.NET 1.x were written using DHTML, a system specific to
IE and IE/Mac browsers. They simply do not provide client-side validation on
other browsers. ASP.NET 2.0 resolves this. So does my Professional
Validation And More, http://www.peterblum.com/vam/home.aspx, which greatly
improves all aspects of validation and data entry on web forms.

CustomValidators should always have a server side evaluation function. It
should be called by Page.Validate() unless you forget to hook it up or the
Validator is Enabled=false or Visible=false.
Additionally, if you use the ControlToValidate property, it will not be
called when the associated field has a blank value. If you need to support
blank values, do not assign ControlToValidate and make your evaluation
function refer to the control directly instead of using the value in the
Args parameter.

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

"Jason" <Ja***@discussions.microsoft.com> wrote in message
news:6A**********************************@microsof t.com...
I am able fire my field validators in FireFox on the server side using...

Page.Validate()
If Not Page.IsValid Then
Exit Sub
End If

But the it won't fire Custom Validators. Anybody know why?

Nov 19 '05 #5
Thanks for the the plug guys.

You can download them directly from here too.
http://www.theglavs.com/GlavTech/Dow...Validators.zip

--
- Paul Glavich
MVP ASP.NET
http://weblogs.asp.net/pglavich
ASPInsiders member - http://www.aspinsiders.com
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ex**************@TK2MSFTNGP14.phx.gbl...
Make that "Glavich DOMValidator", not Glavitch.

Here's the Google link :

http://www.google.com/search?hl=en&l...or&btnG=Search

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Michel de Becdelièvre" <m_*****@msn.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...

"TJS" <no****@here.com> a écrit dans le message de news:
%2****************@TK2MSFTNGP14.phx.gbl...
make sure the browser caps is updated in the config file
updates availble from http://slingfive.com/pages/code/browserCaps/

however, even with the udates, I find that vaidators do not always work
as advertised in Firefox browser, even though they may work fine in IE
browser for the same page.

When that happens I just write my own code to validate on the server
side or go with som external javascript validator file.


You do not need to : google Paul Glavitch DOMValidator. Real good.


Nov 19 '05 #6

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

Similar topics

2
by: Pham Nguyen | last post by:
Has anyone seen an example of a textbox server control that has built-in client-side validation? I'd like to build a server control that extends the System.Web.UI.WebControls.TextBox class to allow...
2
by: Rob | last post by:
I am developing an intranet application, that has to pass interanl security audit. The framework version that I am using is .Net framework version 1.1. Some combinations of text entered in any text...
4
by: Dot net work | last post by:
If I have got 2 web user controls on my aspx form, and one web user control has got some validator controls on it, what I find is that if I enter in some "bad data" in to some text boxes on the...
6
by: jk | last post by:
Looking through WebUIValidation.js, I discovered that the standard validators don't cater for non-numeric date formats (e.g. dd-MMM-yyyy) which I would like to do To keep code to a minimum, I...
1
by: Jason | last post by:
I am able fire my field validators in FireFox on the server side using... Page.Validate() If Not Page.IsValid Then Exit Sub End If But the it won't fire Custom Validators. Anybody know why?
5
by: Mattyw | last post by:
Hi, I'm relatively new to Web Forms, I have been using Required Field Validators and Regular Expression Validators on a Web Form I am developing and everything works as expected using Visual...
1
by: Ben | last post by:
i'm having trouble getting a custom validator to fire on one of my webforms. i dragged a custom validator onto the form, left all the properties on default, double clicked it, and typed this in the...
9
by: wardy1975 | last post by:
Hi All, Looking for a little expert advice on a few web standards issues. I am currently trying to understand the impact of web standards for a web application I work with. I have been doing a...
4
by: Rick | last post by:
Hello, I built a composite web control that has a textbox and a date control. added my custom control on a webform where there are other standard controls. Each control on the form has a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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...

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.