By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,965 Members | 1,505 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,965 IT Pros & Developers. It's quick & easy.

validator.enableclientscript property set to false and server side validation is not occurring.

P: n/a
Just to insure that my application would work as expected with older and
inferior browsers I set the enableclientscript of my validators to false.
The validators and the input boxes they check are dynamically created server
controls. I have a submit button on the form, I included an isValid() check
around the code under the submit button. Much to my disappointment the
client side validation is not working.

Any ideas on what may be causing or a way to investigate this problem?

TIA,

Stan
Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
The timing of dynamically creating server controls is so incredibly tricky,
once again timing was the problem.

Stan


"DesignerX" <de********@yahoo.com> wrote in message
news:j3********************@giganews.com...
Just to insure that my application would work as expected with older and
inferior browsers I set the enableclientscript of my validators to false.
The validators and the input boxes they check are dynamically created server controls. I have a submit button on the form, I included an isValid() check around the code under the submit button. Much to my disappointment the
client side validation is not working.

Any ideas on what may be causing or a way to investigate this problem?

TIA,

Stan

Nov 17 '05 #2

P: n/a
Stan,

Are you calling the page's Validate method prior to attempting to use
IsValid? If not, IsValid will not return the result of server-side
validation.

HTH,
Nicole
"DesignerX" <de********@yahoo.com> wrote in message
news:j3********************@giganews.com...
Just to insure that my application would work as expected with older and
inferior browsers I set the enableclientscript of my validators to false.
The validators and the input boxes they check are dynamically created server controls. I have a submit button on the form, I included an isValid() check around the code under the submit button. Much to my disappointment the
client side validation is not working.

Any ideas on what may be causing or a way to investigate this problem?

TIA,

Stan

Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.