Solved

Validation Problems

Posted on 2009-05-05
3
168 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Syntax Issue with SSIS module 26 143
Updating specific fields only in MVC/Entity controller 2 27
JSON Deserialize issue 6 40
ASP.NET Built-In Report Creator / Viewer 5 25
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 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