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

2 seperate validation groups on 1 page?

This is what I am trying to do
*********************************form1************ ***********
Control 1 required field validator 1
Control 2 required field validator 2
Submit button 1 (works only if control 1 and 2 inputs are correct does not check control 3 or 4 input)

Control 3 required field validator 3
Control 4 required field validator 4
Submit button 2 (works only if control 3 and 4 inputs are correct, does not check control 1 or 2 input)
*********************************form1end********* ***********
but instead button 1 and button 2 check all controls for validation.
thanks
--
Paul G
Software engineer.
Nov 18 '05 #1
3 1244
This is easy to do exactly as you described in ASP.NET 2.0.
Unfortunately that's not released until next year.

Until then you'll have to do some custom validation coding to implement such
as situation.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net

"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:FC**********************************@microsof t.com...
This is what I am trying to do
*********************************form1************ ***********
Control 1 required field validator 1
Control 2 required field validator 2
Submit button 1 (works only if control 1 and 2 inputs are correct does not check control 3 or 4 input)
Control 3 required field validator 3
Control 4 required field validator 4
Submit button 2 (works only if control 3 and 4 inputs are correct, does not check control 1 or 2 input) *********************************form1end********* ***********
but instead button 1 and button 2 check all controls for validation.
thanks
--
Paul G
Software engineer.

Nov 18 '05 #2
"=?Utf-8?B?UGF1bA==?=" <Pa**@discussions.microsoft.com> wrote in
news:FC**********************************@microsof t.com:
but
instead button 1 and button 2 check all controls for validation.
thanks


You'll have to use a custom validator for this situation. You can't use the
built in validators.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 18 '05 #3
ASP.NET 2.0 is in Beta 1 right now. Its expected to be released in the first
half of 2005.

There are several commercial solutions that solve this problem. Mine is
Professional Validation And More (http://www.peterblum.com/vam/home.aspx).
It provides the same 'validation groups' model as ASP.NET 2.0 has. It also
supports many more browsers on the client-side and has 22 validator
controls.

There are numerous limitations in Microsoft's validation. I put together a
list to help others as they plan their validation at
http://www.peterblum.com/vam/valmain.aspx.

--- Peter Blum
www.PeterBlum.com
Email: PL****@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:50**********************************@microsof t.com...
ok thanks for the information. Any idea when ASP.NET vers 2.0 is comming out and will there be a BETA version released for testing? --
Paul G
Software engineer.
"Steve C. Orr [MVP, MCSD]" wrote:
This is easy to do exactly as you described in ASP.NET 2.0.
Unfortunately that's not released until next year.

Until then you'll have to do some custom validation coding to implement such as situation.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net

"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:FC**********************************@microsof t.com...
This is what I am trying to do
*********************************form1************ ***********
Control 1 required field validator 1
Control 2 required field validator 2
Submit button 1 (works only if control 1 and 2 inputs are correct does
not check control 3 or 4 input)

Control 3 required field validator 3
Control 4 required field validator 4
Submit button 2 (works only if control 3 and 4 inputs are correct,
does not check control 1 or 2 input)
*********************************form1end********* ***********
but instead button 1 and button 2 check all controls for validation.
thanks
--
Paul G
Software engineer.


Nov 18 '05 #4

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

Similar topics

2
by: Matt Mercer | last post by:
Hi, My first post here. I am a self-taught, very "green" web developer. It is not the main focus of my job but required from time to time. I am developing a web application that logs security...
3
by: john morales | last post by:
Hi guys, I have a problem and i know there must be a solution for this as it is such a basic common practice in asp.net development. Scenario: i have many webforms in a site, most with two...
1
by: Shaker | last post by:
For simplicity, I have on one form: -textbox1/Requiere For validation1 / submitbuttun1, -textbox2/Requiere For validation2 / submitbuttun2, I have two submit buttons on an ASP.Net page with...
4
by: David Colliver | last post by:
Hi all, I am having a slight problem that hopefully, someone can help me fix. I have a form on a page. Many items on the form have validation controls attached. Also on this form are...
1
by: MattC | last post by:
I have a user control that contains several requiredFieldValidators. The page the control sits in has other RequiredFieldValidators. On submitting the form all the validators on the page fire and...
4
by: ibiza | last post by:
Hi all, I have a small question concerning asp.net 2.0 validation groups. I have this (simplified) situation : Name Value _____ _____ |_____| |_____| _____ _____...
1
by: misiek | last post by:
Hi all. I have following problem: I have some user control called smallUserContrl, in which I have two RangeValidator controls. I set their ValidationGroup property to smallUserControlGroup. ...
1
by: brantman | last post by:
Here is a question that needs to be revisited. I noticed that there are more that a few posts about this in this group and in custom controls. Here is the problem: When inheriting from a...
2
by: moondaddy | last post by:
asp.net 2.0 I have a page with a tab control on it. Each tab has a different user control on it. each user control is used for different data entry (like separate data entry forms) and has its...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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.