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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How is the Save method different from ResetUndoInfo method in the EditControl ?

 

The Save and ResetUndoInfo methods do the same function in most scenarios when a pre-existing file is being used in the EditControl. The ResetUndoInfo method introduces a "save point" like functionality, and all the contents up to that point gets saved and cannot be undone, while the Save method simply saves the contents into the currently open file.

But consider a scenario where some text is being typed into the EditControl without having opened a pre-existing file in it. Try to undo the text typed and it works correctly as expected. Now type something into the EditControl and invoke ResetUndoInfo so that a save point is inserted. Note that no file is being created and nothing is saved in a file at this point. Try to undo this and nothing happens. This is where ResetUndoInfo method differs from Save method.

Article ID: Published Date: Last Revised Date: Platform: Control:
345 04/30/2011 07/10/2014 Windows Forms EditControl
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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