Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form close with unsaved changes dialogue
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00987241
Message ID:
00989955
Views:
53
>Stephen,
>
>>So how do I squash it in this odd case? Or do I have to do it for all forms?
>
>You can override the form's AskSaveChanges() methods and it will never prompt the user:
>
>
public override DialogResult AskSaveChanges()
>{
>	return DialogResult.No;
>}
>

Perfect. Thanks.

__Stephen
Previous
Reply
Map
View

Click here to load this message in the networking platform