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