Solved

Validation Problems

Posted on 2009-05-05
3
163 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

12 Experts available now in Live!

Get 1:1 Help Now