473,396 Members | 1,712 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,396 software developers and data experts.

Regarding Page_ClientValidate() function

Hi,
How can we identify due to which validator control the
Page_ClientValidate() method is returning false.

why iam asking this coz in my page iam using lotz of regular expression
validators and on the click of button if iam checking whatz the return value
of Page_ClientValidate() function iam getting false.

Now on click of a checkbox i disables a couple of textboxes. i attached
regular expression validators to these textboxes. if these textboxes are
enabled and contains proper data then also Page_ClientValidate() function
returns false. even i wont get any message from the validators. if i clicked
on the checkbox and disable the textboxes then Page_ClientValidate()
function returns true.

can anybody tell me whatz really wrong...

waiting for the reply.

--
Deepson Thomas

May 12 '06 #1
1 3276
You can iterate over the Page.Validators collection manually and check IsValid
to identify which one(s) are failing.

-Brock
http://staff.develop.com/ballen

Hi,
How can we identify due to which validator control the
Page_ClientValidate() method is returning false.
why iam asking this coz in my page iam using lotz of regular
expression validators and on the click of button if iam checking whatz
the return value of Page_ClientValidate() function iam getting false.

Now on click of a checkbox i disables a couple of textboxes. i
attached regular expression validators to these textboxes. if these
textboxes are enabled and contains proper data then also
Page_ClientValidate() function returns false. even i wont get any
message from the validators. if i clicked on the checkbox and disable
the textboxes then Page_ClientValidate() function returns true.

can anybody tell me whatz really wrong...

waiting for the reply.

May 13 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mosas | last post by:
Dear All, Php has exec function to run system commands and this function return last line of system command result. But in Python I can see only os.system() function to run system command but it...
3
by: BTHOMASinOHIO | last post by:
I am running through an almost completed Web App and thought I would run it through Netscape for that 5% of users and WOW, Netscape doesn't play nice with the app !!!! Among many formatting...
0
by: Paul Hsieh | last post by:
"Paul D. Boyle" <boyle@laue.chem.ncsu.edu> wrote: > There was a recent thread in this group which talked about the > shortcomings of fgets(). I decided to try my hand at writing a > replacement...
0
by: sonu | last post by:
Hi all, I have a problem regarding use of manualreset events in .net. I have a developed a sample appliation in which entries from the listview which I say is a queue for my processes.I want to...
77
by: M.B | last post by:
Guys, Need some of your opinion on an oft beaten track We have an option of using "goto" in C language, but most testbooks (even K&R) advice against use of it. My personal experience was that...
2
by: archana | last post by:
Hi all, I am having one confusion regarding hashtable. I am having function in which i am passing hashtable as reference. In function i am creating one hashtable which is local to that...
2
by: Bob | last post by:
Hi, i know what the javascript function Page_ClientValidate() function does: tests if all controls meet asp.net validation criteria. This function is provided by asp.net. But how can a browser...
1
by: bg_ie | last post by:
I'm designing a database with 3 tables called Function, Test and Scene. A Function has multiple Tests, but a Test has only one Function. A many to many relationship exists between Test and Scene...
5
by: Philip Potter | last post by:
I have a somewhat flippant question regarding undefined behaviour. Does an operation which invokes undefined behaviour affect the whole program, or are earlier statements guaranteed to execute...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.