473,379 Members | 1,187 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,379 software developers and data experts.

Problem with groupvalidator

Hi guys

I've a little problem with the groupvalidator opition. It's intended
for grouping a set of form field and validators (custom or not) to be
validated against the form submission, leaving different
groupvalidator's field out of the verification process.

What I did was create a user control - simple one - where I placed a
texbox with a button to postback input to a search page, with
groupvalidator set for both object to A.

Then I've on a page where I use the control above another set of
textbox and option within a button and validator all with the
groupvalidator set to B.

What's happening.

If I press button for group A, the logic works fine. The validator
checks only the group A, but on the group B, also the a group A
validation also occur. I'm not able to figure out what the matter is.
Any idea?

Thank for the help provided.
Andrea
Jun 27 '08 #1
3 955
On May 27, 10:09 am, Andrew2 <andrea.moro.we...@gmail.comwrote:
Hi guys

I've a little problem with the groupvalidator opition. It's intended
for grouping a set of form field and validators (custom or not) to be
validated against the form submission, leaving different
groupvalidator's field out of the verification process.

What I did was create a user control - simple one - where I placed a
texbox with a button to postback input to a search page, with
groupvalidator set for both object to A.

Then I've on a page where I use the control above another set of
textbox and option within a button and validator all with the
groupvalidator set to B.
Sorry ... I mean ValidationGroup property
What's happening.

If I press button for group A, the logic works fine. The validator
checks only the group A, but on the group B, also the a group A
validation also occur. I'm not able to figure out what the matter is.
Any idea?

Thank for the help provided.
Andrea
Jun 27 '08 #2
Hi Andrew,

Make sure Group B, has got the same ValidationGroup (including Button B)

HTH
--
Milosz
"Andrew2" wrote:
On May 27, 10:09 am, Andrew2 <andrea.moro.we...@gmail.comwrote:
Hi guys

I've a little problem with the groupvalidator opition. It's intended
for grouping a set of form field and validators (custom or not) to be
validated against the form submission, leaving different
groupvalidator's field out of the verification process.

What I did was create a user control - simple one - where I placed a
texbox with a button to postback input to a search page, with
groupvalidator set for both object to A.

Then I've on a page where I use the control above another set of
textbox and option within a button and validator all with the
groupvalidator set to B.
Sorry ... I mean ValidationGroup property
What's happening.

If I press button for group A, the logic works fine. The validator
checks only the group A, but on the group B, also the a group A
validation also occur. I'm not able to figure out what the matter is.
Any idea?

Thank for the help provided.
Andrea

Jun 27 '08 #3
They are correctly setup. I check it tons of time. I don't know what
to think.

Andrea
Jun 27 '08 #4

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

Similar topics

117
by: Peter Olcott | last post by:
www.halting-problem.com
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.