The name of a JavaScript function on the page to call
when the modified flag changes.
| C# |
public string ModifiedChanged { get; set; }
The client-side editor will call the named JavaScript function on
the page whenever the modified flag changes. This allows the
developer to take appropriate action, such as perhaps enabling and disabling
a Save button on the page.
Set the property declaratively in the HtmlEditor tag:
CopyC#
Page JavaScript function:
CopyC#
ModifiedChanged = "MyModifiedHandler"function MyModifiedHandler(editor, isModified)
{
var saveButton = $get("SaveButton");
saveButton.disabled = !isModified;
}