I need to enable [Save] button when user modifies content. Currently I do it (enable save) in handler:
<SCRIPT language="javascript" event="onkeydown()" for="objContent">...
Shortcoming of this approach:
1) the handler is not called when user presses toolbuttons e.g. [bold]
2) the handler is not called when changes are made in source mode
I also tried to check IsDirty property (declared for underlaying MS DHtmlEdit component), in DisplayChanged event (it is called quite frequently). But it is always "Dirty" even right after initialization.
Does anybody have an idea how to do it , and if it is possible at all ?
<SCRIPT language="javascript" event="onkeydown()" for="objContent">...
Shortcoming of this approach:
1) the handler is not called when user presses toolbuttons e.g. [bold]
2) the handler is not called when changes are made in source mode
I also tried to check IsDirty property (declared for underlaying MS DHtmlEdit component), in DisplayChanged event (it is called quite frequently). But it is always "Dirty" even right after initialization.
Does anybody have an idea how to do it , and if it is possible at all ?