Client validation not firing

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: John Dalberg (john_dd_at_hotmail.com)
Date: 03/01/05


Date: Tue, 1 Mar 2005 09:32:10 -0800


I have an aspx page that was developed initially in Dreamweaver as a
regular html file. I have added a few textboxes and required validators.
The problem is that the client side validation is not firing. Only server
side is working

- I have verified javascript is enabled
- aspnet_client folder is present. Other aspx apps with validation work
fine.
- I can see validation JS code in the html plus the "onsubmit="if
(!ValidatorOnSubmit()) return false;" part in the form tag.

- I have "<meta content=JavaScript name=vs_defaultClientScript>"

Is there something else I might have missed?

-- 
John Dalberg


Relevant Pages

  • Re: What layer will I validate a CSV file in?
    ... not on the ASPX page per se. ... file as an OBJECT to the business logic layer and then loop through there, ... I always put such logic in the business layer; either way you have to postback and do this work on the server, so bandwidth isn't an issue. ... What consitutes a 'good record' is a business validation. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Security of Data in Combo in .net
    ... .aspx form and intercept the form in the Intercepting proxy ... insert indefinate numeric value in the interception. ... If any validation to be performed in this case so that either form will ...
    (microsoft.public.dotnet.security)
  • File.Exists
    ... In my aspx page I have an input type=file that when the page is posted back ... I have to make a validation where the code only be executed if the file that ... André Almeida Maldonado - Brazilian - Com orgulho! ...
    (microsoft.public.dotnet.framework.aspnet)
  • HTML Validation SUDDENLY Problematic
    ... aspx page: ... now can't get into design view. ... Cannot switch views: Validation: Element 'style' ... I've tried changing my validation target type, ...
    (microsoft.public.dotnet.framework)
  • Re: Wierd: Button doesnt do a postback
    ... I took out the validation and it worked. ... how do I fix it? ... When I upload the aspx page to the ...
    (microsoft.public.dotnet.framework.aspnet)