473,569 Members | 2,782 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with Summary Validation

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 control, the page dynamically enables
controls below, containing various textboxes and calculation buttons. For
example there are four controls which are validated. If I hit submit without
entering anything the validation summary fires correctly after one click of
the button. If I enter data in the first two controls correctly and hit
submit, nothing happens. If I click submit again, the validation summary
fires correctly indicating that the final two textbox controls require entry.

Any ideas why I need to click twice.

I am using Validation Groups, since there is another inner calculation
button which only checks the entry of the first two textbox controls.
--
Thank-you,
Barbara Alderton
Mar 2 '07 #1
1 1877
Does anyone have any info on this?
--
Thank-you,
Barbara Alderton
"Barbara Alderton" wrote:
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 control, the page dynamically enables
controls below, containing various textboxes and calculation buttons. For
example there are four controls which are validated. If I hit submit without
entering anything the validation summary fires correctly after one click of
the button. If I enter data in the first two controls correctly and hit
submit, nothing happens. If I click submit again, the validation summary
fires correctly indicating that the final two textbox controls require entry.

Any ideas why I need to click twice.

I am using Validation Groups, since there is another inner calculation
button which only checks the entry of the first two textbox controls.
--
Thank-you,
Barbara Alderton
Mar 5 '07 #2

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

Similar topics

0
1373
by: Daniel Haag | last post by:
I have got an XML file, that aderes to a XDR-Schema which references elements and attributes in two other XDR-Schemas. I want to validate this XML file before I create a DOM tree in C#. This works fine for every namespace except of the default namespace. In the default namespace there is no Event when the XML file is wrong. Could anybody...
22
4822
by: glenn | last post by:
I have a COM Server that I've written based on information from the book ..NET and COM / the complete Interop Guide. I have gotten the project to compile and I've located the regasm.exe program that I was suppose to run against my dll in order to generate a TLB file for the purposes of importing the COM object into other programming lanugages...
3
2330
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...
2
3714
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...
0
1325
by: A.J. van der Burg | last post by:
Hi all, I have a serious problem with asp.net validation: I developed a custom validation summary control, which will lookup error messages from an external source based on the BaseValidator.ErrorMessage property. This validation summary control has a custom method which will add a dummy validator (which will always evaluate to false) to...
0
1797
by: Code Rodent | last post by:
Hi there, Please please could someone shed some like on a problem that I'm having using a combination of Wizards, ValidationGroups and ValidationSummary controls. What I want to do is to have a wizard that will take me through several steps, and at each step validate input data using RequiredFieldValidators etc. displaying any errors in a...
4
6871
by: kpg | last post by:
I can't get the CustomValidator (CV) ErrorMessage to display in the ValidationSummary. On the same page I have several RequiredField Validators and a Range Validator, that all work just fine, that is, the ErrorMessage text is displayed by the Validation summary control. If I leave the CV Text field blank then the errormmessage does...
0
2127
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...
1
2577
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...
0
7697
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, 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...
0
7612
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...
0
8120
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7672
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7968
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 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...
0
6283
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1212
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.