Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any way to bypass Validating event when closing form?
Message
From
11/02/2008 12:56:46
John Baird
Coatesville, Pennsylvania, United States
 
 
To
11/02/2008 12:21:27
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01291525
Message ID:
01291542
Views:
8
>Hi all.
>
>The title says it all < s >. What do I need to do to bypass the validation when the user clicks on the close button in the upper right hand corner of the form?
>
>Thanks!


Hi Marcia,

You don't have to worry about bypassing the validation if you have no handler in place for the action. Go to the properties sheet for the form, then to events, and remove the closing or closed event handler. Then the closing should have no effect on anything.

Make sense?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform