473,406 Members | 2,259 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,406 software developers and data experts.

Cancel the error

Hey all,

I've got an ASP.NET that has a required field validator on it. If the user
presses cancel how do I clear all the error messages thru my code. Kinda of
like reset effect?

thanks,
rodchar
Nov 21 '05 #1
4 1296
It depends on the way you are displaying all the error messages to the user.
Post some code and things will be a lot clearer :)

Cheerz
IM

"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:C4**********************************@microsof t.com...
Hey all,

I've got an ASP.NET that has a required field validator on it. If the user
presses cancel how do I clear all the error messages thru my code. Kinda
of
like reset effect?

thanks,
rodchar

Nov 21 '05 #2
I'm using the Validator summary control.

"Iain Mcleod" wrote:
It depends on the way you are displaying all the error messages to the user.
Post some code and things will be a lot clearer :)

Cheerz
IM

"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:C4**********************************@microsof t.com...
Hey all,

I've got an ASP.NET that has a required field validator on it. If the user
presses cancel how do I clear all the error messages thru my code. Kinda
of
like reset effect?

thanks,
rodchar


Nov 21 '05 #3
"rodchar" <ro*****@discussions.microsoft.com>'s wild
thoughts were released on Thu, 7 Oct 2004 13:47:02 -0700
bearing the following fruit:
Hey all,

I've got an ASP.NET that has a required field validator on it. If the user
presses cancel how do I clear all the error messages thru my code. Kinda of
like reset effect?


Have you set the CausesValidation property to False on the
Cancel button?

Jan Hyde (VB MVP)

--
Every morning is the dawn of a new error. (Don Thorn)

[Abolish the TV License - http://www.tvlicensing.biz/]

Nov 21 '05 #4
that's awesome, thanks. that's exactly what i needed.

"Jan Hyde" wrote:
"rodchar" <ro*****@discussions.microsoft.com>'s wild
thoughts were released on Thu, 7 Oct 2004 13:47:02 -0700
bearing the following fruit:
Hey all,

I've got an ASP.NET that has a required field validator on it. If the user
presses cancel how do I clear all the error messages thru my code. Kinda of
like reset effect?


Have you set the CausesValidation property to False on the
Cancel button?

Jan Hyde (VB MVP)

--
Every morning is the dawn of a new error. (Don Thorn)

[Abolish the TV License - http://www.tvlicensing.biz/]

Nov 21 '05 #5

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

Similar topics

6
by: Arno R | last post by:
Hi all I come across a 'feature' of Access (2000) that I don't like and would like to disable. I am checking if a value already exists in a table. I a subform I use code like : Private Sub...
21
by: Darin | last post by:
I have a form w/ a textbox and Cancel button on it. I have a routine to handle textbox.validating, and I have the form setup so the Cancel button is the Cancel button. WHen the user clicks on...
0
by: Susan | last post by:
I am trying to cancel an oracle stored procedure that can possibly run a long time. I set up the oracle command and, if the user selects to cancel the request or chooses another query to run, I...
1
by: Sergey Zuyev | last post by:
Hello all I have simple edit form. When user saves data that contains restricted characters such as (< , etc.) , regular expression validator will display a warning message. It all works fine,...
3
by: Gallarpri | last post by:
Hi, I'm making a dialog form with a textbox and 2 buttons: OK and Cancel. I want when I click on OK button, the program check the textbox, and if there is any error in the text introduced there,...
1
by: Richard | last post by:
A shipment of material is received. The shipment contains several items. Each item is assigned an internal tracking number for auditing purposes and further processed. The tracking number is...
3
by: Birky | last post by:
Hello, I’m hoping you can help me out with two issues I’m having with my code. I have an Access Report named Report_Project_Event_Log which I have calling a Form named “Custom_Code_lookup” which...
5
by: Steve | last post by:
In VB6 I have a screen the has a text box and a datagrid If I click the datagrid, the 1st event is to validate the textbox and then the 2nd event is a datagrid mousedown event. If a get an error...
6
by: martin DH | last post by:
**Urgent Need** I'll throw out the basics and any assistance is very, very, very much appreciated! Access 2003 on XP On a form (frmMain) is an option group of check boxes (ReportFrame) from...
5
by: jmarcrum | last post by:
Hey everybody! I've created 2 buttons that I've placed on all my forms: a Save button & a Cancel button. The cancel button I have a question about. I used the wizard to create the button...
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
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.