Solved

Validation Problems

Posted on 2009-05-05
3
164 Views
Last Modified: 2013-11-26
Hi,
I am new to Visual Studeo 2008 and i am trying to use the Validation controls.

My problem is that when i click a button on my web form all the Validation controls are set off.
I am trying to make it so that only a preselected Validation controls on textboxs are used on a button click.

e.g. Say i have 6 textboxs  (textbox1, textbox2, textbox3, etc) all with validation and 2 buttons(button1, button2) all on one web form.
When i click button1 i only what the Validation controls for textboxs1-3 to be used and not the Validation controls for textboxs4-6. And when i click button2  i only what the Validation controls for textboxs4-6 to be used and not the Validation controls for textboxs1-3

I would be thankful  for any help in this area.
0
Comment
Question by:Ruzbuk
  • 2
3 Comments
 
LVL 41

Accepted Solution

by:
guru_sami earned 125 total points
ID: 24308978
0
 
LVL 41

Expert Comment

by:guru_sami
ID: 24309072
0
 

Author Closing Comment

by:Ruzbuk
ID: 31578211
The description at
http://www.4guysfromrolla.com/articles/112305-1.aspx
worked fine thanks guru_sami
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now