they are essentially the same. the one generated by the live server
has two more fail cases than the one generated by my local machine,
but it shows alerts in those cases, and i have never gotten an alert.
live server script:
if (typeof(clientInformation) != "undefined" &&
clientInformation.appName.indexOf("Explorer") != -1) {
if (typeof(Page_ValidationVer) == "undefined")
alert("Unable to find script
library '/aspnet_client/system_web/1_1_4322/WebUIValidation.js'. Try
placing this file manually, or reinstall by running 'aspnet_regiis -
c'.");
else if (Page_ValidationVer != "125")
alert("This page uses an incorrect version of
WebUIValidation.js. The page expects version 125. The script library
is " + Page_ValidationVer + ".");
else
ValidatorOnLoad();
}
local server script:
if (typeof(clientInformation) != "undefined" &&
clientInformation.appName.indexOf("Explorer") != -1) {
if ((typeof(Page_ValidationVer) != "undefined") &&
(Page_ValidationVer == "125"))
ValidatorOnLoad();
}
-lhb
--- In [email protected], "Peter Brunone"
<[EMAIL PROTECTED]> wrote:
>
> ���Have you done a View Source on both versions (local and remote)
of the page to see if there's any difference in the way the controls
are rendered?
>
> From: "c0mpliant" [EMAIL PROTECTED]
>
> it sort of works in safari; safari can't utilize the client-side
> version of the validators, so it posts back, and then displays the
> error message.
>
> it turns out that it works in IE as well if i set
> enableclientscript=false. i could use this as a work around; just
> disable the client-side scripting and check for Page.IsValid, but
> that's going to be a lot slower for people who could be using
> javascript. i would much rather figure out why client-side
> validation is so broken.
>
> -lhb
>
> --- In [email protected], "Peter Brunone"
> wrote:
> >
> > ���Interesting.� So to recap, the validators
> > (a) work locally on several different servers,
> > (b) work remotely on a Mac,
> > (c) do NOT work remotely on PC/IE?
> >
> > ���Have you tried remotely on Mozilla or some other "downlevel"
> browser to see if it's just the IE validator that isn't working?�
> I'm just grasping at straws here, but it's possible that we might
> turn something up.
> >
> > Peter
> >
> > From: "c0mpliant" [EMAIL PROTECTED]
> >
> > the code has actually been developed on two computers, both
> running
> > windows XP, and both ran with no issues.
> >
> > i have also tested the pages using my powerbook. (served from
one
> of
> > the XP boxes, though on the same local network) the validators
> > worked perfectly. i do not have local access to the machine i'm
> > trying to move the project to; it is a shared resource with
> > interland hosting.
> >
> > -lhb
> >
> > --- In [email protected], "Peter Brunone"
> > wrote:
> > >
> > > ���Have you tried running this from any other servers,
> > particularly ones where you can test it remotely and locally?
> > >
> > > From: "c0mpliant" [EMAIL PROTECTED]
> > >
> > > the aspnet_client folder is there, and it matches the
> > aspnet_client
> > > folder on my machine: aspnet_client/system_web/1_1_4322
> > >
> > > -lhb
> > >
> > > --- In [email protected], Dean Fiala
> > > wrote:
> > > > Usually happens because ASP.NET was incorrectly installed on
> the
> > > other
> > > > machine, or is in another version of .NET. Have you verified
> > that
> > > the
> > > > aspnet_clientfiles folder has been installed on the remote
> > machine
> > > and
> > > > that has a folder under system_web for the proper version of
> > > ASP.NET.
> > > >
> > > >
> > > > On Tue, 01 Feb 2005 17:14:07 -0000, c0mpliant
> > > wrote:
> > > > >
> > > > >
> > > > > no one can think of a reason why required field validators
> > would
> > > work on my local
> > > > > machine, but not on a remote one? i'm really pressed for
> time
> > > on this!
> > > > >
> > > > > -lhb
> > > > >
> > > > > --- In [email protected], "c0mpliant"
> > > wrote:
> > > > > >
> > > > > > i am creating a form where email is a required field. to
> > make
> > > sure
> > > > > > it was filled in, i use a requiredfieldvalidator. both
the
> > > textbox
> > > > > > and it's validator are below:
> > > > > >
> > > > > > > > > runat="server" />
> > > > > >
> > > > > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/