Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CauseValidation
Message
De
06/08/2003 08:04:11
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
CauseValidation
Divers
Thread ID:
00817249
Message ID:
00817249
Vues:
49
Dear All,

We are facing a problem while using Validating event of Text Box.
On my form I have 3 Text boxes and one ActiveXcontrol(for Add, Delete, Save and Cancel)

If I set the CauseValidation property of all the controls to true, It fires the validate event in all the cases, even if I press Cancel Key in the ActiveXControl.
To avoide this, I changed the CauseValidation property of ActiveXControl to False.
But in this case also, It is behaving differently.
Lets say Focus is on Textbox1, I press Cancel from ActiveXControl.
It did not fire the validate of Textbox1 but as soon as I move from Active to some other control let say Text box2, Now it will fire the validate for Textbox1.

Does any body have any idea about this problem?

Regards,
Rajni Shibu
Répondre
Fil
Voir

Click here to load this message in the networking platform