borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (how to mail html page)Next Topic (Web server VS Application Server) New Topic New Poll Post Reply
AndreaVB Forum : ASP.Net : question about validation control
Poster Message
tri_inn
Level: Regular User
Registered: 26-08-2002
Posts: 395

icon question about validation control

say suppose in my web form there are three text boxes and three required validation controls are associated with three different textbox
and when i will post my form then my form will not be posted because three textbox are empty and all required validation control will be visible
simultaneously. so i want to know how could i work with required validation or any validation control in a such a that each required validation
or any validation control will fire one after another. is it possible in asp.net if yes, then please tell me in detail.

14-06-2004 at 12:44 PM
View Profile Send Email to User Show All Posts | Quote Reply
zimcoder
Level: VB Lord


Registered: 27-10-2003
Posts: 225
icon Re: question about validation control

When you add your validation control on  the form make sure you set each validator's display property to dynamic. This will ensure that validation is called on each control as you deal with it. if for instance you do not fill in a required field, you will be notified by appropriate validator as soon as that field loses focus

____________________________
BrainBench ADO.NET and ASP.NET Certified Developer

20-06-2004 at 05:43 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : ASP.Net : question about validation control
Previous Topic (how to mail html page)Next Topic (Web server VS Application Server) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder