Link to home
Create AccountLog in
Avatar of Ruzbuk
Ruzbuk

asked on

Validation Problems

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.
ASKER CERTIFIED SOLUTION
Avatar of guru_sami
guru_sami
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Ruzbuk
Ruzbuk

ASKER

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