Re: Postbacks dies on our server if using client-side validation!?



Check the permissions on the folder where that .js file resides. It
might not being downloaded to the client machine.

darrel wrote:
This is a follow-up to a question I had yesterday.

Quick summary: our intranet server dies a month or so ago and we had to get
a new one up and running quickly.

Any .net app that ran on the old server was moved over. The catch is that
any of the apps that used client-side validation no longer properly
post-back. And we're not sure why.

In some further testing, I've found that the validation works, but the
postback never happens. So the page is never submitted and, as such, makes
for a rather useless application.

The fix is to turn of javascript and let the validation happen client-side,
but we're stumped as to why this happened.

The proper .js file that .net uses for validation IS being linked to (in IE)
and the file DOES exist on the server.

We're stumped. BTW, these same apps work just fine on our localhost or other
test servers.

-Darrel

--
=================================================================
Win prizes searching google:
http://www.blingo.com/friends?ref=hM72-GU3FWzMFnTqhv-2GE1FNtA

.



Relevant Pages

  • Re: Validating dates with a CompareValidator
    ... The server dictates format. ... Remember that client-side validation is a bonus. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: form submit
    ... Server-side validation should be done whether or not client-side validation ... submitted data on the server. ... Please reply to the newsgroup. ...
    (microsoft.public.scripting.jscript)
  • Re: Help on validation process?
    ... All of the .NET validators attempt to validate each control client-side in ... no client-side only validation is ... secure because the server should never trust what the client is sending it. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: DOM-scripting -- FF problem -- SOLVED
    ... Server-side is where any necessary validation is never optional. ... I asked in a FF forum, solution was to put 'return false' after function call; have now succeeded in both validate (client-side) and connect to server w/AJAX to send email...:) ... Browsers can be configured to have javascript disabled. ... However, the validation might fail on the lcient, so you need to *revalidate* on the server. ...
    (comp.lang.javascript)
  • Re: firing order fo clientSide script
    ... that means you'd rely only on the client-side validation(since you want the ... msg to appear before the postback occurs and before server-.side validation ... I have a form that sends some data to the server once filled. ... i want a javascript function to fire before continuing with the ...
    (microsoft.public.dotnet.framework.aspnet)