It may not be your code. See this thread:
http://www.asp.net/Forums/ShowPost.a...&PostID=739537
Did you know: the ValidationSummary provides an alertbox feature. Set its
ShowMessageBox property to true. No custom code needed.
Also, "Professional Validation And More"
(
http://www.peterblum.com/vam/home.aspx) is a replacement to Microsoft's
validators that greatly expands what you can do with it. Its 22 validators
allow setting focus to the field with the error, showing an alert, changing
the style of the field with the error and more. Its client-side code works
on many more browsers than IE and IE/Mac which Microsoft's validators
support.
Even if you are not looking for an inexpensive third party solution, you
should be aware of the many limitations in Microsoft's validators as you
design your site. I put together a list at
http://www.peterblum.com/vam/valmain.aspx.
--- Peter Blum
www.PeterBlum.com
Email:
PL****@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx
"John Slate" <ph*******@yahoo.com> wrote in message
news:uZ**************@TK2MSFTNGP10.phx.gbl...
I have built a simple form that uses input validation. I use the
EnableClientScript option to produce a javascript alert box when input
errors occur. The only validation is a password confirmation which uses
a compare validator and a validation summary. On my local machine, this
form performs as designed. However, when deployed on a live server the
input validation no longer works. Any suggestions as to why this may be
happening? Thanks!
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!