We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Return value from Save or SaveAs dialog box

Thread ID:





8182 Oct 24,2003 05:30 PM UTC Oct 27,2003 08:58 PM UTC WinForms 2
Tags: EditControl
Ian Williams
Asked On October 24, 2003 05:30 PM UTC

I have two files (edit controls), one primary, one secondary. The secondary is dependant on the primary and will be saved under the same name, different extension, only if the user chooses to save the primary file. How do I know if the user has saved the file or cancelled the save action (or SaveAs action) after the edit control's Close method is called? Thanks heaps.

Ian Williams
Replied On October 24, 2003 05:54 PM UTC

The other part this problem is that the file editControl.Close() method null's out the file name, so now I have no idea what file name the user saved the file under (when SaveAs is called on a new file). I used the OnFileNameChanged event to capture this, but when the Close() method nulls out the file name, this event fires again, and I'm left with a null reference. Is there a better solution to this?

Administrator [Syncfusion]
Replied On October 27, 2003 08:58 PM UTC

Hi Ian, Thanks for bringing this to our attention. I have tested for these issues here and have observed the above mentioned problems. I have contacted the Essential Edit Development Team for their inputs on this, and will update you as soon as I hear from them. Thanks for your patience and cooperation. Regards, Guru Patwal Syncfusion, Inc.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon