aspnetcore-js-devexpress-dot-richedit-66259d71.md
An event that occurs after a document is saved on the server side.
export class SavedEvent extends RichEditEvent<SavedEventArgs>
You can define the Saved event handler either at the server side, at the client side, or at runtime.
@(Html.DevExpress().RichEdit("richEdit")
.OnSaved("function(s,e) {
if (e.success)
console.log('The document is successfully processed on the server.');
}")
// ...
const options = DevExpress.RichEdit.createOptions();
options.events.saved = function(s,e) {
if (e.success)
console.log('The document is successfully processed on the server.');
};
richEdit.events.saved.addHandler(function(s, e) {
if (e.success)
console.log('The document is successfully processed on the server.');
});
The event handler receives an argument of the SavedEventArgs type. The argument’s properties provide information specific to this event.
See Save a Document for more information.
Event<TSource, TEventArgs> RichEditEvent<TEventArgs> SavedEvent
See Also