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 (Windows 2000 Server + SP4, .NET v1.1.4322).
If one of the client machines access my Development system, everything
works as it should, so this isn't a client-side or browser issue (IE 6 +
updates).
Anybody have any ideas? I haven't been able to find anything online.
-={ Kyle }=- 5 1733
I had a similar problem when I had custom validator control on the page and
did not set client validation to false ( I was not supplying JavaScript to
do client validation either).
So check if you have custom validator control and set client validation
property to false.
-------------------------------------------------------------------------------------
Also you might simply have a Javascript error on the page. You will not see
it if the Javascript error notification is turned off in IE. But validation
will not work (Javascript does is not executed as soon as IE had an error on
the page).
George.
"Kyle" <sk****@frontiernet.net> wrote in message
news:Zx******************@news02.roc.ny... 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 (Windows 2000 Server + SP4, .NET v1.1.4322).
If one of the client machines access my Development system, everything works as it should, so this isn't a client-side or browser issue (IE 6 + updates).
Anybody have any ideas? I haven't been able to find anything online.
-={ Kyle }=-
Kyle,
There is an "aspnet_client" folder in iis that has all the validator's
javascripts in them. That may be missing/in the wrong place.
As a side note in case you didn't know on the server side you should always
wrap any code that shouldn't run if not valid in:
If Page.IsValid Then
'---page is valid execute code
End If
If you don't do that then if someone has javascript turned off they will
still make it to the server...
You can't count on client side validation alone.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"Kyle" <sk****@frontiernet.net> wrote in message
news:Zx******************@news02.roc.ny... 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 (Windows 2000 Server + SP4, .NET v1.1.4322).
If one of the client machines access my Development system, everything works as it should, so this isn't a client-side or browser issue (IE 6 + updates).
Anybody have any ideas? I haven't been able to find anything online.
-={ Kyle }=-
I have a combination of validation controls, including custom
validators, on the page.
Should I change 'EnableClientScript=false' for the custom controls only?
-={ Kyle }=-
George Ter-Saakov wrote: I had a similar problem when I had custom validator control on the page and did not set client validation to false ( I was not supplying JavaScript to do client validation either).
So check if you have custom validator control and set client validation property to false.
-------------------------------------------------------------------------------------
Also you might simply have a Javascript error on the page. You will not see it if the Javascript error notification is turned off in IE. But validation will not work (Javascript does is not executed as soon as IE had an error on the page).
George. "Kyle" <sk****@frontiernet.net> wrote in message news:Zx******************@news02.roc.ny... 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 (Windows 2000 Server + SP4, .NET v1.1.4322).
If one of the client machines access my Development system, everything works as it should, so this isn't a client-side or browser issue (IE 6 + updates).
Anybody have any ideas? I haven't been able to find anything online.
-={ Kyle }=-
I checked that already (only thing that came up with my searching) and
the folder exists, with the proper name and files (SmartNav.htm,
SmartNav.js, WebUIValidation.js).
Is it possible that the contents of the files are different?
-={ Kyle }=-
S. Justin Gengo [MCP] wrote: Kyle,
There is an "aspnet_client" folder in iis that has all the validator's javascripts in them. That may be missing/in the wrong place.
As a side note in case you didn't know on the server side you should always wrap any code that shouldn't run if not valid in:
If Page.IsValid Then '---page is valid execute code End If
If you don't do that then if someone has javascript turned off they will still make it to the server...
You can't count on client side validation alone.
Yes,
Other validation controls provide JavaScript to run on the client if you
have EnableClientScript = true (It's actually up to you if you want or not
to do validation on the client.)
For custom validators you must provide it or turn it off by setting
EnableClientScript to false.
Otherwise (from my experience) validation will not work correctly on some
platforms (on some works, on some not).
George.
"Kyle" <sk****@frontiernet.net> wrote in message
news:cv******************@news02.roc.ny... I have a combination of validation controls, including custom validators, on the page.
Should I change 'EnableClientScript=false' for the custom controls only?
-={ Kyle }=-
George Ter-Saakov wrote: I had a similar problem when I had custom validator control on the page and did not set client validation to false ( I was not supplying JavaScript to do client validation either).
So check if you have custom validator control and set client validation property to false.
-------------------------------------------------------------------------------------
Also you might simply have a Javascript error on the page. You will not see it if the Javascript error notification is turned off in IE. But validation will not work (Javascript does is not executed as soon as IE had an error on the page).
George. "Kyle" <sk****@frontiernet.net> wrote in message news:Zx******************@news02.roc.ny... 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 (Windows 2000 Server + SP4, .NET v1.1.4322).
If one of the client machines access my Development system, everything works as it should, so this isn't a client-side or browser issue (IE 6 + updates).
Anybody have any ideas? I haven't been able to find anything online.
-={ Kyle }=- This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jonathan |
last post by:
Hi all:
I originally posted this in an HTML forum, but have realized that the
solution may (a) require a server-side change or (b) be non-existent.
In any case, since the page I'm dealing with is...
|
by: Jim Brandley |
last post by:
I have a required field with a client-side validator. It works as advertised
until I try to add code to block double submits and replace the image on
the submit button to give the users some...
|
by: Mark |
last post by:
Hi,
I've been having problems with the validation controls not working on
my deployment server. Initially it was a security issue with the
anonymous account not having permissions to access...
|
by: Alan Silver |
last post by:
Hello,
I have been playing with some of the code in ASP.NET Unleashed, to try
and understand what's going on. I am getting on pretty well, but have
struck a problem. I was looking at samples for...
|
by: koen |
last post by:
Hi!
In asp.net (version 1.1) I run into a problem when trying to perform
client validation.
The error I get on the client-side is : "Error: expected ';'".
This problem occurs when I place a...
| |
by: Paul |
last post by:
Hi all,
I have a composite control which is basically a wrapper control for
child controls and validators. It's a little hacky, but I could
previously check from its child validators to see...
|
by: Spondishy |
last post by:
Hi,
I'm running an application that is getting the Validation of viewstate
MAC failed error. This occurs if the application has been left for a
long period of time and a user performs a...
|
by: lists |
last post by:
Hi all,
I am trying to validate an XML file against an XSD schema file within a
..NET C++ program, but the validation doesn't seem to be occuring.
My code is listed below. The validation...
|
by: mdfidahussain |
last post by:
Hello VB Experts,
I've encountered an error -> "SWbemServicesEx: Quota Validation" while executing a VB Script, infact the script is simple and is also running fine for many servers but only...
|
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,...
|
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...
| |
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: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
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,...
|
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...
|
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...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |