473,288 Members | 1,705 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,288 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 3266
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: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.