I have a validation summary that I use soley for my Required Field
Validators. That works fine if I do things that way up to a point, if
by chance the
validation summary says "Date field required" then I edit the date and
input
an incorrect date, which I have a JavaScript validation for, that
message
will come up saying how to enter the date.
The problem is that the validation summary is now populated and it wont
clear until I hit the server again.
Is there a way to clear it or make it invisible through JavaScript on
some
form function like onsubmit - that will allow me to be able to
clear that summary? 2 5255
I'm not sure what you mean here, the validation summary is tied to the
validation control attached to the input web control. If the input web
control validates, the summary will be updated, otherwise it won't. That's
by design.
--
_______________ _________
Warm regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------
<nm*****@gmail. comwrote in message
news:11******** **************@ m7g2000cwm.goog legroups.com...
>
I have a validation summary that I use soley for my Required Field
Validators. That works fine if I do things that way up to a point, if
by chance the
validation summary says "Date field required" then I edit the date and
input
an incorrect date, which I have a JavaScript validation for, that
message
will come up saying how to enter the date.
The problem is that the validation summary is now populated and it wont
clear until I hit the server again.
Is there a way to clear it or make it invisible through JavaScript on
some
form function like onsubmit - that will allow me to be able to
clear that summary?
the exact same question has been asked and i'm on the same board: http://groups.google.com/group/micro...0492bfc9f7d41f
Alvin Bruney [MVP] wrote:
I'm not sure what you mean here, the validation summary is tied to the
validation control attached to the input web control. If the input web
control validates, the summary will be updated, otherwise it won't. That's
by design.
--
_______________ _________
Warm regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------
<nm*****@gmail. comwrote in message
news:11******** **************@ m7g2000cwm.goog legroups.com...
I have a validation summary that I use soley for my Required Field
Validators. That works fine if I do things that way up to a point, if
by chance the
validation summary says "Date field required" then I edit the date and
input
an incorrect date, which I have a JavaScript validation for, that
message
will come up saying how to enter the date.
The problem is that the validation summary is now populated and it wont
clear until I hit the server again.
Is there a way to clear it or make it invisible through JavaScript on
some
form function like onsubmit - that will allow me to be able to
clear that summary?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Rob Meade |
last post by:
Hi all,
I have a login page which has username and password fields, a login button,
and 2 validation controls (one for each field) - currently I have controls
to display to the summary if the items missing etc.all working fine...
However, when the user logs in I fire off to a stored procedure, at this
point, unless the login is successful I can return up to about 8 different
error numbers in a string which I then split out into an...
|
by: Tony |
last post by:
Hi folks,
I've got a bit of a problem. I have a situation where I build forms
completely dynamically based on a form definition supplied from a database.
Anyway, I noticed that required fields weren't validating on the server
side, so I've whittled the code down to the example below which illustrates
the problem.
Basically, when I programmatically create a control and a required field
validator, and don't use client side validation,...
|
by: Lucas Tam |
last post by:
Hi all,
I want to display an error message from a custom validator in my Validation
Summary control.
Do I need to build the ServerValidate Event handler in order to display an
error message?
All I wish to do is raise an error message on a failed database insert -
|
by: Barbara Alderton |
last post by:
I setup some standard Required Field Validation controls and one Custom
validation control on an ASP.NET page (within a user control) to validate
text entry. I also setup a Summary Control to post all the messages to a
message box (ShowMessageBox=true). The required field validation error
messages show up in the summary just fine but I can't get the custom
validation message to show up if invalid.
So far I have the summary control...
|
by: Cleako |
last post by:
Here is my dilema.
I have a validation summary that I use soley for my Required Field
Validators. I have it setup to run from a Page.Validate call in the
code-behind, this is because I need to be able to clear text or other various
functions need to be checked before it hits the back side.
That works fine if I do things that way up to a point, if by chance the
validation summary says "Date field required" then I edit the date and...
| |
by: paul_zaoldyeck |
last post by:
does anyone know how to validate an xml file against multiple defined
schema?
can you show me some examples?
i'm making here an xml reader..
thank you
|
by: =?Utf-8?B?QmFyYmFyYSBBbGRlcnRvbg==?= |
last post by:
I'm having trouble working with a Summary Validation control. I need to
click my submit button twice for the Summary to display when validation
errors occur on the page.
Background:
My page contains a radio control which the user must answer to finish the
page entry. If user hits submit button without selecting item from control,
summary validation error displays. In this case one click is sufficient.
Once the user selects choice on...
|
by: =?Utf-8?B?QmFyYmFyYSBBbGRlcnRvbg==?= |
last post by:
I'm having trouble working with a Summary Validation control. I need to
click my submit button twice for the Summary to display when validation
errors occur on the page.
Background:
My page contains a radio control which the user must answer to finish the
page entry. If user hits submit button without selecting item from control,
summary validation error displays. In this case one click is sufficient.
Once the user selects choice on...
|
by: daveh551 |
last post by:
I have a web page with an address entry form and some other things on
it. The form has field validators on several of the fields, and a
validation summary at the bottom. Because of the size of the form, on
a typical screen, you need to scroll to see the bottom of the form,
which is where the validation summary is. So when a user presses
submit, and gets a validation error, the screen redisplays, but it
redisplays from the top with...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |