HTML Editor for ASP.NET AJAX
AutoSave Property
Server ReferenceWinthusiasm.HtmlEditorHtmlEditorAutoSave
Determines if modifications are automatically saved as part of client-side validation.
Declaration Syntax
C#
public bool AutoSave { get; set; }
Remarks
The default is true.

The AutoSave functionality works automatically as part of the client-side ASP.NET validation process when the page is submitted. All controls with their CausesValidation property set to true (the default) trigger this behavior. If the standard client-side validation process does not take place on postback the editor's client-side Save method should be triggered through one of two methods:

  • The ID of the button control(s) that should trigger the Save should be listed in the SaveButtons property. The editor finds the controls with the ID's listed and automatically modifies their OnClientClick property.
  • The appropriate client-side script can be manually added. In general, the OnClientClick property of the button control(s) should be modified to $find the client-side editor object and call Save.
    CopyC#
    OnClientClick="GetHtmlEditor().Save()"

Assembly: Winthusiasm.HtmlEditor (Module: Winthusiasm.HtmlEditor) Version: 2.3.0.0 (2.3.0.0)