473,403 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

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

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
2 5639
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John Holmes | last post by:
I'm using the RequiredFieldValidator on 9 text boxes and then a Validation Summary control for bringing up a message when the user tries to click a button that makes a trip to the server. This...
2
by: SimonH | last post by:
Hi All, I'm having problems getting a custom validator to work. I'm hoping someone could perhaps notice what I've missed. I only want to provide a server side validation method. The problem is...
1
by: Stephen Adam | last post by:
Hi there people, I'm creating my own set of self validating text boxes. They all inherit from a base text box which simply contains a required field validator, they then usuallly implement...
1
by: bennett | last post by:
At http://www.brainjammer.com/testing/validator_test.aspx I have a text field where you can enter text, and a button where if you click the button, it sets the value of a label below it, to...
2
by: Alan Silver | last post by:
Hello, I have a custom validator on my page, and have the server-side code working fine. I want to add a client-side funtion as well, but am not sure how to wire it in so that it works with the...
3
by: CK | last post by:
Hello All, I have a page with a text box. It has a required field validator, and a regualur expression validator tied to it. A valid email is required. When clientside is enabled it works...
2
by: rn5a | last post by:
The different Validation controls like RequiredFieldValidator, RangeValidator etc. have a property named Display. This property can have 3 values - Dynamic, Static & None. What's the difference...
3
by: Andy | last post by:
Hi folks, I have a customvalidator control that works properly if it isn't contained in an ASP:TABLE. But, when I place it inside an ASP:TABLE, I find that _ServerValidate doesn't get fired,...
1
by: onseats.ky | last post by:
I have a strange problem with a required field validator when I have EnableClientScript set to true. When the client side validation fires I get a javascript exception inside the .net javascript....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.