Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CauseValidation
Message
From
06/08/2003 08:04:11
 
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
CauseValidation
Miscellaneous
Thread ID:
00817249
Message ID:
00817249
Views:
48
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
Reply
Map
View

Click here to load this message in the networking platform