.NETGURU
required field validator
Messages   Related Types
This message was discovered on ASPFriends.com 'aspng-validators' list.


Greg Robinson
-- Moved from [aspngfreeforall] to [aspng-validators] by devin <Click here to reveal e-mail address> --

I have 10-15 text boxes on my web form. I have a required field validator attached to each. I have a Submit and a Clear button. When clicking the Clear button, my required field messages pop up. How do I turn this off?

Reply to this message...
 
    
Tim Heuer
On your clear button add the attribute:

CausesValidation=3D"False"

______________________
Tim Heuer

-----Original Message-----
From: Greg Robinson [mailto:Click here to reveal e-mail address]=20
Sent: Monday, August 19, 2002 2:06 PM
To: aspng-validators
Subject: [aspng-validators] required field validator

-- Moved from [aspngfreeforall] to [aspng-validators] by devin
<Click here to reveal e-mail address> --

I have 10-15 text boxes on my web form. I have a required field
validator attached to each. I have a Submit and a Clear button. When
clicking the Clear button, my required field messages pop up. How do I
turn this off?
| [aspng-validators] member Click here to reveal e-mail address =3D YOUR ID=20
| http://www.aspfriends.com/aspfriends/aspng-validators.asp =3D =
JOIN/QUIT

Reply to this message...
 
    
FrogBody
set the CausesValidation property to False

i.e.

add this line to your control: CausesValidation="False" or just flip the
switch in VS

- Carson

-----Original Message-----
From: Greg Robinson [mailto:Click here to reveal e-mail address]
Sent: Monday, August 19, 2002 2:06 PM
To: aspng-validators
Subject: [aspng-validators] required field validator

-- Moved from [aspngfreeforall] to [aspng-validators] by devin
<Click here to reveal e-mail address> --

I have 10-15 text boxes on my web form. I have a required field
validator attached to each. I have a Submit and a Clear button. When
clicking the Clear button, my required field messages pop up. How do I
turn this off?
| [aspng-validators] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspng-validators.asp = JOIN/QUIT
-

-

Reply to this message...
 
    
Greg Robinson
I am using server side events and not client side.

----- Original Message -----
From: "Greg Robinson" <Click here to reveal e-mail address>
To: "aspng-validators" <Click here to reveal e-mail address>
Sent: Monday, August 19, 2002 5:06 PM
Subject: [aspng-validators] required field validator

> -- Moved from [aspngfreeforall] to [aspng-validators] by devin
<Click here to reveal e-mail address> --
[Original message clipped]

Clear button, my required field messages pop up. How do I turn this off?
[Original message clipped]

Reply to this message...
 
    
Roshni
set causesvalidation property to false
----- Original Message -----
From: "Greg Robinson" <Click here to reveal e-mail address>
To: "aspng-validators" <Click here to reveal e-mail address>
Sent: Monday, August 19, 2002 5:06 PM
Subject: [aspng-validators] required field validator

> -- Moved from [aspngfreeforall] to [aspng-validators] by devin
<Click here to reveal e-mail address> --
[Original message clipped]

Clear button, my required field messages pop up. How do I turn this off?
[Original message clipped]

Reply to this message...
 
    
Tim Heuer
Doesn't matter...still set that attribute...when asp.net builds the page
it will know what to do.

______________________
Tim Heuer

-----Original Message-----
From: Greg Robinson [mailto:Click here to reveal e-mail address]=20
Sent: Monday, August 19, 2002 2:23 PM
To: aspng-validators
Subject: [aspng-validators] Re: required field validator

I am using server side events and not client side.

----- Original Message -----
From: "Greg Robinson" <Click here to reveal e-mail address>
To: "aspng-validators" <Click here to reveal e-mail address>
Sent: Monday, August 19, 2002 5:06 PM
Subject: [aspng-validators] required field validator

> -- Moved from [aspngfreeforall] to [aspng-validators] by devin
<Click here to reveal e-mail address> --
[Original message clipped]

the Clear button, my required field messages pop up. How do I turn this
off?
[Original message clipped]

| [aspng-validators] member Click here to reveal e-mail address =3D YOUR ID=20
| http://www.aspfriends.com/aspfriends/aspng-validators.asp =3D =
JOIN/QUIT

Reply to this message...
 
    
Neel Kaur
To the clear button you have an attribute causesvalidation ..... set this to
false ....

<asp:button id=button1 causesvalidation=false runat=server></asp:button>

-----Original Message-----
From: Greg Robinson [mailto:Click here to reveal e-mail address]
Sent: Tuesday, August 20, 2002 9:06 AM
To: aspng-validators
Subject: [aspng-validators] required field validator

-- Moved from [aspngfreeforall] to [aspng-validators] by devin
<Click here to reveal e-mail address> --

I have 10-15 text boxes on my web form. I have a required field validator
attached to each. I have a Submit and a Clear button. When clicking the
Clear button, my required field messages pop up. How do I turn this off?
| [aspng-validators] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspng-validators.asp = JOIN/QUIT

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification