|
Client-Side API
RadEditor provides a rich client-side API and
event model. You can attach custom client-script code (JavaScript) to a number of
client-side events fired by the editor. All client-side events are exposed as
string properties to the RadEditor instance
with the value being the name of the JavaScript function to be called.
Below is a
list of all
client-side events and methods that are currently supported by RadEditor:
Events
1. OnClientLoad - fired after
the RadEditor is loaded on the client
2. OnClientCancel - fired when you click the
Cancel button
3. OnClientSubmit - fired
when you click the Submit button
4. OnClientCommandExecuting - fired
just before a command is executed
5. OnClientCommandExecuted - fired after a command is
executed
6. OnClientModeChange - fired when
switching to a new mode
Methods
1. Submit 2. PasteHtml 3.
SetHtml 4. SetVisible 5.
SetSize 6. SetFocus 7.
GetHtml 8. GetText 9.
AttachEventHandler 10.
DetachEventHandler 11.
ShowDialog
|