Solved

Validation Problems

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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

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…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

860 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